DataGridViewSortCompareEventArgs

Wisej.Web.DataGridViewSortCompareEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for the SortCompare event.

public class DataGridViewSortCompareEventArgs : HandledEventArgs

Constructors

DataGridViewSortCompareEventArgs(column, cellValue1, cellValue2, rowIndex1, rowIndex2)

Initializes a new instance of the DataGridViewSortCompareEventArgs class.

Name
Type
Description

column

The column to sort.

cellValue1

The value of the first cell to compare.

cellValue2

The value of the second cell to compare.

rowIndex1

The index of the row containing the first cell.

rowIndex2

The index of the row containing the second cell.

Properties

CellValue1

Object: Returns the value of the first cell to compare.

CellValue2

Object: Returns the value of the second cell to compare.

Column

DataGridViewColumn: Returns the column being sorted.

RowIndex1

Int32: Returns the index of the row containing the first cell to compare.

RowIndex2

Int32: Returns the index of the row containing the second cell to compare.

SortResult

Int32: Returns or sets a value indicating the order in which the compared cells will be sorted.

Used By

Name
Description

Represents the method that will handle the SortCompare event of a DataGridView control.

Last updated

Was this helpful?