Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LoadingPanelTextAlignment Enum

Lists values that specify where the Loading Panel’s text appears relative to its indicator.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public enum LoadingPanelTextAlignment

#Members

Name Description
Right

The text is to the right of an indicator.

Left

The text is to the left of an indicator.

#Related API Members

The following properties accept/return LoadingPanelTextAlignment values:

#Remarks

The following example positions the Loading Panel’s Text to the left of an indicator:

Razor
<DxLoadingPanel Visible="true"
                ApplyBackgroundShading="true"
                TextAlignment="LoadingPanelTextAlignment.Left"
                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.";
}

Change the text position

See Also