Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 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

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.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#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