Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit Namespace / MaterialFrame Class / Z Property


In This Topic
    Z Property
    In This Topic

    Gets or sets the predefined shadow to use for the control.

    Syntax
    'Declaration
     
    Public Property Z As Integer
    'Usage
     
    Dim instance As MaterialFrame
    Dim value As Integer
     
    instance.Z = value
     
    value = instance.Z
    public int Z {get; set;}

    Property Value

    A value representing the predefined shadow to use for the control. By default, -1.
    Remarks

    A lower Z will show a small shadow while an higher Z value will show a bigger shadow.

    A value of -1 will enable the custom shadow properties : ShadowBlurRadiusShadowColorShadowDepthShadowDirection, and ShadowOpacity.

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also