Visual.

ZIndex Property

Summary

Gets the Z index of the control.
Namespace
Avalonia
Containing Type
Visual

Syntax

public int ZIndex { get; set; }

Remarks

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.

Value

Type Description
int