Nevron.UI.WinForm.Controls Namespace / NDataGridView Class / SortCompare Event


SortCompare Event
Syntax
'Declaration
 
<SRCategoryAttribute("CatData")>
<System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
<SRDescriptionAttribute("DataGridView_SortCompareDescr")>
Public Event SortCompare As System.Windows.Forms.DataGridViewSortCompareEventHandler
 
'Usage
 
Dim instance As NDataGridView
Dim handler As System.Windows.Forms.DataGridViewSortCompareEventHandler
 
AddHandler instance.SortCompare, handler
Event Data

The event handler receives an argument of type System.Windows.Forms.DataGridViewSortCompareEventArgs containing data related to this event. The following DataGridViewSortCompareEventArgs properties provide information specific to this event.

PropertyDescription
Gets the value of the first cell to compare.  
Gets the value of the second cell to compare.  
Gets the column being sorted.  
(Inherited from System.ComponentModel.HandledEventArgs)
Gets the index of the row containing the first cell to compare.  
Gets the index of the row containing the second cell to compare.  
Gets or sets a value indicating the order in which the compared cells will be sorted.  
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also