VisualElement.ZIndex Property

Definition

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

C#
public int ZIndex { get; set; }

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

Product Versions
.NET MAUI 8, 9