Back to Devexpress

RepositoryItemFontEdit.RecentlyUsedItemCount Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemfontedit.md

latest1.8 KB
Original Source

RepositoryItemFontEdit.RecentlyUsedItemCount Property

Gets or sets the maximum number of items in the editor’s MRU list.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(7)]
[DXCategory("Behavior")]
public virtual int RecentlyUsedItemCount { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(7)>
Public Overridable Property RecentlyUsedItemCount As Integer

Property Value

TypeDefaultDescription
Int327

An integer value that specifies the maximum number of items in the editor’s MRU list.

|

Remarks

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 RecentlyUsedItemCount property. Setting this property to 0 disables the MRU functionality.

See Also

RepositoryItemFontEdit Class

RepositoryItemFontEdit Members

DevExpress.XtraEditors.Repository Namespace