Class GroupDescriptor
Represents a struct that contains the grouping information like property name to be grouped
and key selector based on which grouping for a property is processed.
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.DataSource
Assembly: Syncfusion.DataSource.WinForms.dll
Syntax
public class GroupDescriptor : GroupDescription, INotifyPropertyChanged
Constructors
GroupDescriptor()
Initializes a new instance of the GroupDescriptor class.
Declaration
public GroupDescriptor()
GroupDescriptor(String)
Initializes a new instance of the GroupDescriptor class.
Declaration
public GroupDescriptor(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | Property name |
GroupDescriptor(String, Func<Object, Object>)
Initializes a new instance of the GroupDescriptor class.
Declaration
public GroupDescriptor(string propertyName, Func<object, object> keySelector)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | Property Name |
System.Func<System.Object, System.Object> | keySelector | Key selector |
Properties
Comparer
Gets or sets the Comparer.
Declaration
public IComparer<GroupResult> Comparer { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IComparer<GroupResult> | IComparer of GroupResult. |
KeySelector
Gets or sets the KeySelector.Groups are created based on the key return.
Declaration
public Func<object, object> KeySelector { get; set; }
Property Value
Type |
---|
System.Func<System.Object, System.Object> |
PropertyName
Gets or sets the Property Name
Declaration
public string PropertyName { get; set; }
Property Value
Type | Description |
---|---|
System.String | Represents the string value. |
Implements
System.ComponentModel.INotifyPropertyChanged