-api-id | -api-type |
---|---|
M:Windows.UI.Xaml.Controls.Canvas.GetZIndex(Windows.UI.Xaml.UIElement) |
winrt method |
Gets the value of the Canvas.ZIndex XAML attached property for the target element.
The object from which the property value is read.
The Canvas.ZIndex XAML attached property value of the requested object.
This method is a utility method 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 method. For more info, see the Canvas.ZIndex attached property.
Canvas.ZIndex](canvas_zindex.md), Attached properties overview