Canvas.ZIndexProperty Property

Definition

Identifies the Canvas.ZIndex XAML attached property.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.Canvas.ZIndexProperty.

public:
 static property DependencyProperty ^ ZIndexProperty { DependencyProperty ^ get(); };
DependencyProperty ZIndexProperty();
public static DependencyProperty ZIndexProperty { get; }
var dependencyProperty = Canvas.zIndexProperty;
Public Shared ReadOnly Property ZIndexProperty As DependencyProperty

Property Value

DependencyProperty

The identifier for the Canvas.ZIndex XAML attached property.

Remarks

This property is only an identifier for the property system, and isn't used in most app scenarios. In most cases you set the Canvas.ZIndex XAML attached property in XAML and won't need this identifier.
The maximum allowed value is 1000000 (one million).

Applies to