GrapeCity MultiRow Windows Forms Documentation
MaxDropDownItems Property (HeaderDropDownList)


Gets or sets the maximum number of items to be shown in the drop-down portion of HeaderDropDownList.
Syntax
<SRCategoryAttribute("Appearance")>
<RefreshPropertiesAttribute(RefreshProperties.All)>
<DefaultValueAttribute()>
<SRDescriptionAttribute("Indicates the maximum number of items to be shown in the drop-down portion of the HeaderDropDownList.")>
Public Property MaxDropDownItems As Integer
Dim instance As HeaderDropDownList
Dim value As Integer
 
instance.MaxDropDownItems = value
 
value = instance.MaxDropDownItems
[SRCategory("Appearance")]
[RefreshProperties(RefreshProperties.All)]
[DefaultValue()]
[SRDescription("Indicates the maximum number of items to be shown in the drop-down portion of the HeaderDropDownList.")]
public int MaxDropDownItems {get; set;}

Property Value

A System.Int32 value that indicates the maximum number of items in the drop-down list. The default is 8.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException

The assigned value is less than 1.

-or-

The assigned value is greater than 100.

Requirements

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

See Also

Reference

HeaderDropDownList Class
HeaderDropDownList Members

 

 


Copyright © GrapeCity, inc. All rights reserved.