Back to Devexpress

BarManagerAppearances.ItemsFont Property

windowsforms-devexpress-dot-xtrabars-dot-barmanagerappearances-19633f3b.md

latest4.2 KB
Original Source

BarManagerAppearances.ItemsFont Property

Contains default font settings to paint bar items.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public virtual Font ItemsFont { get; set; }
vb
Public Overridable Property ItemsFont As Font

Property Value

TypeDescription
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).

csharp
BarAndDockingController.Default.AppearancesBar.ItemsFont = new Font("Tahoma", 18);
vb
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

DefaultMenuFont

DefaultFont

DefaultPrintFont

BarManagerAppearances Class

BarManagerAppearances Members

DevExpress.XtraBars Namespace