Skip to main content
A newer version of this page is available. .

ChartRangeControlClient.FontSize Property

Gets or sets the font size of ChartRangeControlClient labels.

Namespace: DevExpress.WinUI.Charts

Assembly: DevExpress.WinUI.Charts.v22.1.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(12, Handler = "FontSizePropertyChanged")]
public double FontSize { get; set; }

Property Value

Type Description
Double

The font size of ChartRangeControlClient labels.

Remarks

The following example customizes the ChartRangeControlClient appearance and sets the FontFamily property to Arial Narrow, the FontSize property to 14, and the Foreground and GridLinesBrush properties to Dark Blue:

<Controls:RangeControl x:Name="rangeControl" Background="Transparent" 
                       ShowRangeThumbs="True" Margin="30,-10,30,15" Grid.Row="2">
    <Charts:ChartRangeControlClient x:Name="rangeControlClient" 
                                    Chart="{Binding ElementName=chart}"  
                                    FontFamily="Arial Narrow" 
                                    FontSize="14"
                                    Foreground="DarkBlue" 
                                    GridLinesBrush="DarkBlue" />
</Controls:RangeControl>

Result:

Appearance customization of Chart Range Control Client

See Also