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

BarManagerAppearances.ItemsFont Property

Contains default font settings to paint bar items.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public virtual Font ItemsFont { get; set; }

#Property Value

Type Description
Font

A Font object providing default style settings for bar items.

#Remarks

Use the ItemsFont property to specify default font settings for bar items (items within bars and submenus).

BarAndDockingController.Default.AppearancesBar.ItemsFont = new Font("Tahoma", 18);

It is possible to use the following properties to override the default font settings:

To change the font of individual bar items, use the AppearanceObject.Font object of the BarItem.ItemAppearance property.

XtraBars employ special flags to indicate whether particular styles should be used. Flags are automatically set when assigning values to corresponding style properties. Flags can be cleared via the AppearanceObject.Options property.

See Appearance and Look and Feel to learn more.

See Also