Skip to main content
Bar

BarManagerAppearances.ItemsFont Property

Contains default font settings to paint bar items.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

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.Appearance 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