Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.14 KB

canvas_getzindex_1847672608.md

File metadata and controls

31 lines (22 loc) · 1.14 KB
-api-id -api-type
M:Microsoft.UI.Xaml.Controls.Canvas.GetZIndex(Microsoft.UI.Xaml.UIElement)
winrt method

Microsoft.UI.Xaml.Controls.Canvas.GetZIndex

-description

Gets the value of the Canvas.ZIndex XAML attached property for the target element.

-parameters

-param element

The object from which the property value is read.

-returns

The Canvas.ZIndex XAML attached property value of the requested object.

-remarks

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.

-examples

-see-also

Canvas.ZIndex](canvas_zindex.md), Attached properties overview