Version

MaxMRUItems Property (EditorWithCombo)

Gets/sets the maximum number of items that will be displayed in the editor's MRU list
Syntax
'Declaration
 
Public Property MaxMRUItems As Integer
public int MaxMRUItems {get; set;}
Remarks

When this property is set to a value that is less than the current number of items in the MRUList, all items whose index is >= MaxMRUItems are removed; i.e., this property supercedes the addition of members to the collection

Note: The MaxMRUItems property is not applicable when the editor owner returns 'Suggest' or 'SuggestAppend' from the GetAutoCompleteMode method. Since the dropdown can only contain the filtered items in that scenario, MRU list functionality is suspended.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also