BarManagerAppearances.ItemsFont Property
Contains default font settings to paint bar items.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.2.dll
Declaration
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).
It is possible to use the following properties to override the default font settings:
- AppearanceObject.Font object of the BarManagerAppearances.Bar property allows you to specify font settings only for bars (including main menus and status bars)
- AppearanceObject.Font object of the BarManagerAppearances.MainMenu property allows you to specify font settings for items within main menus. The property overrides font settings of the BarManagerAppearances.Bar property.
- AppearanceObject.Font object of the BarManagerAppearances.StatusBar property allows you to specify font settings for items within status bars. The property overrides font settings of the BarManagerAppearances.Bar property.
- AppearanceObject.Font object of the MenuAppearance.Menu property allows you to specify font settings for submenu items. This property can be accessed via the BarManagerAppearances.SubMenu, BarCustomContainerItem.MenuAppearance and PopupMenu.MenuAppearance property.
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.