Share via


Canvas.ZIndexProperty Property

Definition

Identifies the Canvas.ZIndex XAML attached property.

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

Property Value

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

See also