BCGControlBar Library for .NET
GridCompareElements Event




Raised when it's required to compare two elements for sort operation.
Syntax
'Declaration
 
Public Event GridCompareElements As GridCompareElementsEventHandler
'Usage
 
Dim instance As GridData
Dim handler As GridCompareElementsEventHandler
 
AddHandler instance.GridCompareElements, handler
public event GridCompareElementsEventHandler GridCompareElements
public: __event GridCompareElementsEventHandler* GridCompareElements
public:
event GridCompareElementsEventHandler^ GridCompareElements
Event Data

The event handler receives an argument of type GridCompareElementsEventArgs containing data related to this event. The following GridCompareElementsEventArgs properties provide information specific to this event.

PropertyDescription
Handled (Inherited from System.ComponentModel.HandledEventArgs) 
Obj1  
Obj2  
Result  
Remarks
Subscribe to this event and set EnableCustomSort property to true in order to customize sorting. You can expect objects of any type - it depends what objects contained in collection that is passed to GridSort constructor.
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

Reference

GridData Class
GridData Members

Send Feedback