Back to Devexpress

DxWindow.ZIndex Property

blazor-devexpress-dot-blazor-dot-dxwindow-832b2cef.md

latest1.4 KB
Original Source

DxWindow.ZIndex Property

Specifies the Window’s z-index.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDescription
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

DxWindow Class

DxWindow Members

DevExpress.Blazor Namespace