Skip to main content
A newer version of this page is available. .

GridCustomSortEventArgs Members

Contains data for the CustomSort event.

Properties

Name Description
DataItem1 Gets the first data item being compared.
DataItem2 Gets the second data item being compared.
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) Get the value of the specified data source field from the first row to be compared.
GetRow2Value(String) Get the value of the specified data source field from the second row to be compared.
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