Skip to main content

DxLoadingPanel.IsContentVisible Property

Specifies whether content behind the Loading Panel is visible.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(true)]
[Parameter]
public bool IsContentVisible { get; set; }

Property Value

Type Default Description
Boolean true

true to display content; false to hide content.

Remarks

When the Loading Panel is visible, it partially overlaps content:

Blazor Loading Panel

Set the IsContentVisible property to false to hide content behind the Loading Panel’s opaque background:

<DxLoadingPanel Visible="true"
                IsContentVisible="false"
                CssClass="w-100">
    <DxMemo @bind-Text="@Text"
            Rows="10" />
</DxLoadingPanel>

@code {
    string Text = "Andrew received his BTS commercial in 1987 and a Ph.D. in international marketing at the University " +
                  "of Dallas in 1994. He speaks French and Italian fluently, and reads German. He joined the company as " +
                  "a sales representative. After that, he was promoted to sales manager in January 2005 and vice president " +
                  "of sales in March 2006. Andrew is a member of the Sales Management Round table, Seattle Chamber of Commerce, and Pacific Rim Importers Association.";
}

Opaque background

You can also use the ApplyBackgroundShading property to shade the target content area.

See Also