Skip to main content

GridCustomSortEventArgs Members

Contains data for the CustomSort event.

Properties

Name Description
DataItem1 Gets the first of two processed data items. Compare these items and determine in which order to sort them.
DataItem2 Gets the second of two processed data items. Compare these items and determine in which order to sort them.
FieldName Specifies the name of the data source field whose values should be compared.
Grid Returns an object that defines grid API members (properties and methods).
Handled Specifies whether the comparison operation is handled, and no default processing is required.
Result Gets the result of the custom comparison.
SortOrder Gets the current sort order applied to the column being processed.
Value1 Gets the first value being compared.
Value2 Gets the second value being compared.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetRow1Value(String) Returns the value of the specified data source field from the first row to be compared to GetRow2Value(String).
GetRow2Value(String) Returns the value of the specified data source field from the second row to be compared to GetRow1Value(String).
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also