VisualElement.ZIndex Property

Definition

Gets or sets the front-to-back z-index of an element within a layout. This is a bindable property.

public:
 property int ZIndex { int get(); void set(int value); };
public int ZIndex { get; set; }
member this.ZIndex : int with get, set
Public Property ZIndex As Integer

Property Value

Remarks

An element with a higher ZIndex value will be shown on top of an element with a lower ZIndex value.

Applies to