Skip to main content
A newer version of this page is available. .

WindowsFormsSettings.DefaultMenuFont Property

Gets and sets the default font used to display text on menus, toolbars and popup menus (except Ribbon elements). This is a static property.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v18.2.dll

Declaration

public static Font DefaultMenuFont { get; set; }

Property Value

Type Description
Font

A Font object which is the default font for menu items. If not set, the property value is specified by the System.Windows.Forms.SystemInformation.MenuFont property.

Remarks

The static DefaultMenuFont property specifies the global font setting for menu items. These include:

If the DefaultMenuFont property is not set, the default font is specified by the SystemInformation.MenuFont property.

Specific controls allow you to customize the font of their menus via dedicated properties, and so override the global default font. For instance, the Bar.BarAppearance property (accessible from the DefaultBarAndDockingController and BarAndDockingController objects) provides access to the bar appearance settings in different visual states.

See Also