Back to Devexpress

DxLoadingPanel.SizeMode Property

blazor-devexpress-dot-blazor-dot-dxloadingpanel-a6b8846c.md

latest1.9 KB
Original Source

DxLoadingPanel.SizeMode Property

Specifies the size of the loading panel.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(null)]
[Parameter]
public SizeMode? SizeMode { get; set; }

Property Value

TypeDefaultDescription
Nullable<SizeMode>null

The size mode. If the property is not specified (the value is null), the size is determined by the SizeMode global option.

|

Available values:

NameDescription
Small

Small size.

| | Medium |

Medium size.

| | Large |

Large size.

|

Remarks

The SizeMode property allows you to apply different size modes to the DxLoadingPanel component (without covered content). For additional information, refer to the following topic: Size Modes.

The following code snippet applies the Large size mode to the DxLoadingPanel component.

razor
<DxLoadingPanel @bind-Visible="visible"
                IsContentBlocked="true"
                ApplyBackgroundShading="true"
                SizeMode="SizeMode.Large">
    <DxMemo @bind-Text="@text" />
</DxLoadingPanel>

Run Demo: Loading Panel - Modal Panel

See Also

DxLoadingPanel Class

DxLoadingPanel Members

DevExpress.Blazor Namespace