Skip to main content

FontEdit Class

The editor to select a font from a dropdown list.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.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