DxLoadingPanel.TextAlignment Property
Specifies 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
[DefaultValue(LoadingPanelTextAlignment.Right)]
[Parameter]
public LoadingPanelTextAlignment TextAlignment { get; set; }
Property Value
Type | Default | Description |
---|---|---|
LoadingPanelTextAlignment | Right | An enumeration value. |
Available values:
Name | Description |
---|---|
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:
<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