Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

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

FontEdit Class

The editor to select a font from a dropdown list.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public class FontEdit :
    ComboBoxEdit

#Remarks

The FontEdit control displays available fonts in the dropdown window and allows an end-user to select a specific font. When a font is selected, its name is assigned to the editor’s BaseEdit.EditValue property.

FontEditor

The editor’s properties can be accessed via the FontEdit.Properties object, which represents an instance of the RepositoryItemFontEdit class.

The FontEdit control supports the MRU functionality. When a specific font is selected in the dropdown, it’s added to the MRU list, and displayed at the top of the dropdown window. The number of items in the MRU list is specified by the RepositoryItemFontEdit.RecentlyUsedItemCount property. Setting this property to 0 disables the MRU functionality.

The MRU functionality is not supported when the FontEdit object is used for in-place editing within container controls (bars, grids, etc).

See Also