Back to Devexpress

DxLoadingPanel.TextAlignment Property

blazor-devexpress-dot-blazor-dot-dxloadingpanel-703f812f.md

latest2.3 KB
Original Source

DxLoadingPanel.TextAlignment Property

Specifies where the Loading Panel’s text appears relative to its indicator.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(LoadingPanelTextAlignment.Right)]
[Parameter]
public LoadingPanelTextAlignment TextAlignment { get; set; }

Property Value

TypeDefaultDescription
LoadingPanelTextAlignmentRight

An enumeration value.

|

Available values:

NameDescription
Right

The text is to the right of an indicator.

| | Left |

The text is to the left of an indicator.

|

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.";
}

If you want to apply other customizations within the indicator’s frame use the IndicatorTemplate and IndicatorCssClass properties.

See Also

DxLoadingPanel Class

DxLoadingPanel Members

DevExpress.Blazor Namespace