Skip to main content

DxWindow.ZIndex Property

Specifies the Window’s z-index.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public int? ZIndex { get; set; }

Property Value

Type Description
Nullable<Int32>

The Window’s z-index; null if the z-index is calculated automatically.

Remarks

DevExpress pop-up components, such as drop-down or pop-up windows, overlap other elements. We use the z-index CSS property to arrange pop-up elements on the page. To ensure correct positioning, the components calculate z-indexes dynamically.

You can show multiple Windows simultaneously. Their z-index is calculated based on the display order: 1050 for the first Window, which increases for Windows shown later. If your application has a complex layout, or you want to change the default order of elements, use the ZIndex property.

See Also