blazor-devexpress-dot-blazor-ef6ce69a.md
Contains subtitle settings.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
public class DxSubtitleSettings :
SubtitleBaseSettings
Use DxSubtitleSettings objects to configure subtitle settings for the following components:
DxBarGaugeA component that visualizes data as circular bars where each bar indicates a single value.DxSankeyA component that depicts value flow between two entity sets.DxRangeSelectorAn interactive component that visualizes data on a linear scale and allows users to select a value range.
Show Nested Component Structure
DxSubtitleSettings
To create a subtitle, add a DxSubtitleSettings object to DxTitleSettings component markup.
The DxSubtitleSettings component allows you to specify the following properties at the component level:
OffsetSpecifies vertical subtitle offset from the title.TextSpecifies subtitle text.TextOverflow | WordWrapSpecify how to display overflowing subtitle text.
You can also add a DxFontSettings object to subtitle markup to configure the subtitle’s font settings.
The following code snippet customizes the Bar Gauge‘s title and subtitle:
<DxBarGauge Width="100%"
Height="500px"
StartValue="0"
EndValue="100"
Values="@Values">
<DxTitleSettings Text="Custom Title"
VerticalAlignment="VerticalEdge.Bottom">
<DxFontSettings Size="28" Weight="600" />
<DxSubtitleSettings Text="Custom Subtitle">
<DxFontSettings Opacity="0.5" Weight="500" />
</DxSubtitleSettings>
</DxTitleSettings>
@* ... *@
</DxBarGauge>
@code {
double[] Values = new double[] { 47.27, 65.32, 84.59, 81.86, 99 };
// ...
}
Object ComponentBase DxSettingsComponent<DevExpress.Blazor.ClientComponents.Internal.SubtitleSettingsModel> DxComplexSettingsComponent<SubtitleBaseSettings, DevExpress.Blazor.ClientComponents.Internal.SubtitleSettingsModel> TextBaseSettings<SubtitleBaseSettings, DevExpress.Blazor.ClientComponents.Internal.SubtitleSettingsModel> SubtitleBaseSettings DxSubtitleSettings
See Also