Back to Devexpress

DxLoadingPanel.Text Property

blazor-devexpress-dot-blazor-dot-dxloadingpanel-e12d3207.md

latest1.8 KB
Original Source

DxLoadingPanel.Text Property

Specifies the text displayed next to an indicator.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[Parameter]
public string Text { get; set; }

Property Value

TypeDescription
String

The panel’s text.

|

Remarks

Use the Text property to specify custom message for the Loading Panel:

razor
<DxLoadingPanel Visible="true"
                ApplyBackgroundShading="true"
                Text="Please, wait..."
                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.";
}

You can also use the TextAlignment property to position text relative to the indicator.

See Also

DxLoadingPanel Class

DxLoadingPanel Members

DevExpress.Blazor Namespace