Skip to main content
Bar

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

BarManager.ItemsFont Property

OBSOLETE

You should use the BarManagerProperties class

Gets or sets the default font used to paint link captions.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("You should use the BarManagerProperties class")]
public virtual Font ItemsFont { get; set; }

#Property Value

Type Description
Font

A Font object specifying the default font used to paint link captions.

#Remarks

This property is obsolete. Use the BarAndDockingController’s BarManagerAppearances.ItemsFont property to specify default font settings for bars and popup menus. You can also use the BarManagerAppearances.Bar and BarManagerAppearances.SubMenu properties to specify appearance settings (including font settings) for bars and sub-menus independently. These properties, if used, override the default settings of BarManagerAppearances.ItemsFont.

The Bar.Appearance property allows you to override the default styles (including font attributes) for this particular bar. Moreover, you can provide font settings for individual items via the BarItem.ItemAppearance property.

See Also