Gets or sets the max count of the filter items that can be auto generated.
<DefaultValueAttribute()>
<SRDescriptionAttribute("Indicates the maximum filter items count that can be generated automatically.")>
<SRCategoryAttribute("Behavior")>
Public Property MaxCount As Integer
Dim instance As AutoFilterToolStripItem
Dim value As Integer
instance.MaxCount = value
value = instance.MaxCount
[DefaultValue()]
[SRDescription("Indicates the maximum filter items count that can be generated automatically.")]
[SRCategory("Behavior")]
public int MaxCount {get; set;}
Property Value
A
System.Int32 value representing the max count of the filter items that can be auto generated. The default is 1000.
Target Platforms: 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