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

ChartRangeControlClient.FontFamily Property

Gets or sets a font family for ChartRangeControlClient labels.

Namespace: DevExpress.WinUI.Charts

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

NuGet Package: DevExpress.WinUI

Declaration

[DP(null, Handler = "AppearanceChanged")]
public FontFamily FontFamily { get; set; }

Property Value

Type Description
FontFamily

The font family for 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