Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.13 KB

canvas_getzindex_379900467.md

File metadata and controls

33 lines (22 loc) · 1.13 KB
-api-id -api-type
M:Windows.UI.Xaml.Controls.Canvas.GetZIndex(Windows.UI.Xaml.UIElement)
winrt method

Windows.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