ZIndex Property
Gets or sets the Z index of the control.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public int ZIndex { get; set; }
Public Property ZIndex As Integer
Get
Set
member ZIndex : int with get, set
Property Value
Int32Remarks
Controls with a higher ZIndex will appear in front of controls with a lower ZIndex. If two controls have the same ZIndex then the control that appears later in the containing element's children collection will appear on top.