Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

FontSettings.FontStretch Property

Gets or sets the degree to which a font is condensed or expanded on the screen.

Namespace: DevExpress.Xpf.NavBar

Assembly: DevExpress.Xpf.NavBar.v24.2.dll

NuGet Package: DevExpress.Wpf.NavBar

#Declaration

public FontStretch? FontStretch { get; set; }

#Property Value

Type Description
Nullable<FontStretch>

A FontStretch structure representing the degree to which a font is condensed or expanded on the screen.

#Property Paths

You can access this nested property as listed below:

Object Type Path to FontStretch
FontSettings
.Default .FontStretch
NavBarGroup
.ActualFontSettings .FontStretch
NavBarGroup
.FontSettings .FontStretch
NavBarGroup
.ItemFontSettings .FontStretch
NavBarItem
.ActualFontSettings .FontStretch
NavBarItem
.FontSettings .FontStretch
NavBarItemControl
.FontSettings .FontStretch
NavBarViewBase
.GroupFontSettings .FontStretch
NavBarViewBase
.ItemFontSettings .FontStretch

#Remarks

The FontSettings.FontFamily property specifies the font family of the controls that own the current settings. The FontStretch, FontSettings.FontStyle, FontSettings.FontWeight and FontSettings.FontSize properties specify the font attributes.

See Also