BCGControlBar Library for .NET
DrawFilterButtonEventArgs Constructor




Graphics context.
Bounding rectangle of filter button.
Specifies whether a filter button is highlighted.
Specifies whether the column, where the filter button is located, displays "mark" state. "Mark" state is a special coloring, which indicates that there is at least one selected cell in the column.
Specifies whether the column, where the filter button is located, is selected.
Specifies the current filter image to be displayed on the button.
Column, where the filter button is located.
Constructs and initializes an instance of the DrawFilterButtonEventArgs object.
Syntax
'Declaration
 
Public Function New( _
   ByVal grph As Graphics, _
   ByVal bounds As Rectangle, _
   ByVal highlighted As Boolean, _
   ByVal columnMarkSelection As Boolean, _
   ByVal columnSelected As Boolean, _
   ByVal filterImage As Image, _
   ByVal column As GridColumn _
)
'Usage
 
Dim grph As Graphics
Dim bounds As Rectangle
Dim highlighted As Boolean
Dim columnMarkSelection As Boolean
Dim columnSelected As Boolean
Dim filterImage As Image
Dim column As GridColumn
 
Dim instance As New DrawFilterButtonEventArgs(grph, bounds, highlighted, columnMarkSelection, columnSelected, filterImage, column)
public DrawFilterButtonEventArgs( 
   Graphics grph,
   Rectangle bounds,
   bool highlighted,
   bool columnMarkSelection,
   bool columnSelected,
   Image filterImage,
   GridColumn column
)
public: DrawFilterButtonEventArgs( 
   Graphics* grph,
   Rectangle bounds,
   bool highlighted,
   bool columnMarkSelection,
   bool columnSelected,
   Image* filterImage,
   GridColumn* column
)
public:
DrawFilterButtonEventArgs( 
   Graphics^ grph,
   Rectangle bounds,
   bool highlighted,
   bool columnMarkSelection,
   bool columnSelected,
   Image^ filterImage,
   GridColumn^ column
)

Parameters

grph
Graphics context.
bounds
Bounding rectangle of filter button.
highlighted
Specifies whether a filter button is highlighted.
columnMarkSelection
Specifies whether the column, where the filter button is located, displays "mark" state. "Mark" state is a special coloring, which indicates that there is at least one selected cell in the column.
columnSelected
Specifies whether the column, where the filter button is located, is selected.
filterImage
Specifies the current filter image to be displayed on the button.
column
Column, where the filter button is located.
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

DrawFilterButtonEventArgs Class
DrawFilterButtonEventArgs Members

Send Feedback