BCGControlBar Library for .NET
DrawColumnHeaderFilterButton Event




Raised when it's required to draw Filter button on a column header.
Syntax
'Declaration
 
Public Event DrawColumnHeaderFilterButton As DrawFilterButtonEventHandler
'Usage
 
Dim instance As GridControl
Dim handler As DrawFilterButtonEventHandler
 
AddHandler instance.DrawColumnHeaderFilterButton, handler
public event DrawFilterButtonEventHandler DrawColumnHeaderFilterButton
public: __event DrawFilterButtonEventHandler* DrawColumnHeaderFilterButton
public:
event DrawFilterButtonEventHandler^ DrawColumnHeaderFilterButton
Event Data

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

PropertyDescription
Bounds Gets bounding rectangle of a filter button.
Column Gets a column where a filter button is located.
ColumnMarkSelection Gets a value that indicates whether a column displays "mark" state.
ColumnSelected Gets a value that indicates whether a parent column is selected.
FilterImage Gets a filter image to be displayed on a filter button.
Graphics Gets a graphics context.
Handled (Inherited from System.ComponentModel.HandledEventArgs) 
Highlighted Gets a value that indicates whether a parent column is highlighted.
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