Class GridDataBoundRowExpandCellButton
Defines a cell button element that looks like a + and - button for expanding and collapsing nodes in a tree. Typically used with GridDataBoundRowExpandCellRenderer.
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.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridDataBoundRowExpandCellButton : GridCellButton, IDisposable
Constructors
GridDataBoundRowExpandCellButton(GridCellRendererBase)
Initializes a GridDataBoundRowExpandCellButton and associates it with a GridCellRendererBase.
Declaration
public GridDataBoundRowExpandCellButton(GridCellRendererBase control)
Parameters
Type | Name | Description |
---|---|---|
GridCellRendererBase | control | The GridCellRendererBase that draws this cell button element. |
Methods
Draw(Graphics, Int32, Int32, Boolean, GridStyleInfo)
Draws the cell button element at the specified row 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 | The System.Drawing.Graphics context of the canvas. |
System.Int32 | rowIndex | The row index. |
System.Int32 | colIndex | The column index. |
System.Boolean | bActive | True if this is the active current cell; False otherwise. |
GridStyleInfo | style | The GridStyleInfo object that holds cell information. |
Overrides
Implements
System.IDisposable