Class ClearFilterButton
Implements a cell button which is typically used with grid filter bar to clear the existing filter.
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.GridHelperClasses
Assembly: Syncfusion.GridHelperClasses.Windows.dll
Syntax
public class ClearFilterButton : GridCellButton, IDisposable
Constructors
ClearFilterButton(GridTextBoxCellRenderer)
Initializes a new instance of the ClearFilterButton class.
Declaration
public ClearFilterButton(GridTextBoxCellRenderer control)
Parameters
Type | Name | Description |
---|---|---|
GridTextBoxCellRenderer | control | The text box cell renderer. |
Methods
Draw(Graphics, Int32, Int32, Boolean, GridStyleInfo)
Draws a cell button at the specified row index and column index.
Declaration
public override void Draw(Graphics g, int rowIndex, int colIndex, bool bActive, GridStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | Graphics context. |
System.Int32 | rowIndex | Row index. |
System.Int32 | colIndex | Column index. |
System.Boolean | bActive | True if this is the active current cell. |
GridStyleInfo | style | Cell style information. |
Overrides
Implements
System.IDisposable