GrapeCity MultiRow Windows Forms Documentation
Sorted Property (ListCell)


Gets or sets a value that indicates whether the items in the list box are sorted automatically.
Syntax
<SRCategoryAttribute("Behavior")>
<DefaultValueAttribute()>
<SRDescriptionAttribute("Indicates whether items in the list portion of the ListCell are sorted.")>
Public Overridable Property Sorted As Boolean
Dim instance As ListCell
Dim value As Boolean
 
instance.Sorted = value
 
value = instance.Sorted
[SRCategory("Behavior")]
[DefaultValue()]
[SRDescription("Indicates whether items in the list portion of the ListCell are sorted.")]
public virtual bool Sorted {get; set;}

Property Value

true if the list box is sorted; otherwise, false. The default is false.
Exceptions
ExceptionDescription
System.ArgumentException An attempt was made to sort a cell that is attached to a data source.
Remarks
This property specifies whether the hosted ComboBoxEditingControl sorts existing entries and adds new entries to the appropriate sorted position in the list. When this property is set to false, new items are added to the end of the existing list. The sorting operation ignores the case and sorts in an alphabetically ascending order.
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

ListCell Class
ListCell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.