Class GroupDescriptor
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Namespace: Syncfusion.DataSource
Assembly: Syncfusion.DataSource.Portable.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