Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.11 KB

canvas_setzindex_1487870836.md

File metadata and controls

33 lines (22 loc) · 1.11 KB
-api-id -api-type
M:Microsoft.UI.Xaml.Controls.Canvas.SetZIndex(Microsoft.UI.Xaml.UIElement,System.Int32)
winrt method

Microsoft.UI.Xaml.Controls.Canvas.SetZIndex

-description

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

-parameters

-param element

The object to which the property value is written.

-param value

The value to set.

-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, Attached properties overview