BCGControlBar Library for .NET
Filter Event




Raised when Grid control filters rows.
Syntax
'Declaration
 
Public Event Filter As GridFilterEventHandler
'Usage
 
Dim instance As GridControl
Dim handler As GridFilterEventHandler
 
AddHandler instance.Filter, handler
public event GridFilterEventHandler Filter
public: __event GridFilterEventHandler* Filter
public:
event GridFilterEventHandler^ Filter
Event Data

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

PropertyDescription
ColumnDataIndex  
Filtered  
Item  
RowIndex  
Remarks
This event is raised for each row in a Grid control when you call SetFilter.

You should process this event and set GridFilterEventArgs.Filtered property to true if the appropriate row (in SingleFilterMode) or GridDataItem (in multiple filter mode) should be filtered out.
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

GridControl Class
GridControl Members

Send Feedback