TitleStyle Class
Stores the title appearance settings.
Namespace: DevExpress.Maui.Charts
Assembly: DevExpress.Maui.Charts.dll
NuGet Package: DevExpress.Maui.Charts
Declaration
public class TitleStyle :
TextElementStyleBase
Related API Members
The following members return TitleStyle objects:
Remarks
Assign the TitleStyle object to the Style property of the AxisTitle or ConstantLineTitle object that specifies the title of an axis or constant line. Use the TitleStyle.TextStyle property to configure the title text appearance settings (text color and size).
Example
This example creates a y-axis’s title, align it and customize its appearance.
<dxc:ChartView.AxisY>
<dxc:NumericAxisY>
<dxc:NumericAxisY.Title>
<dxc:AxisTitle Text="$/gallon"
Alignment="Outside">
<dxc:AxisTitle.Style>
<dxc:TitleStyle>
<dxc:TitleStyle.TextStyle>
<dxc:TextStyle Color="DarkRed" Size="24"/>
</dxc:TitleStyle.TextStyle>
</dxc:TitleStyle>
</dxc:AxisTitle.Style>
</dxc:AxisTitle>
</dxc:NumericAxisY.Title>
</dxc:NumericAxisY>
</dxc:ChartView.AxisY>
Inheritance
Object
BindableObject
Element
DevExpress.Maui.Core.Internal.DXElementBaseCore
See Also