Class GroupExpanderCellRenderer
Represents the class that used to draw the group expander cell.
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.WinForms.DataGrid.Renderers
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class GroupExpanderCellRenderer : GridCellRendererBase, IGridCellRenderer<TableControl>, IDisposable
Constructors
GroupExpanderCellRenderer()
Initializes a new instance of the GroupExpanderCellRenderer class.
Declaration
public GroupExpanderCellRenderer()
Methods
OnDrawExpanderIcon(Graphics, Rectangle, CaptionSummaryStyleInfo, DataColumnBase, RowColumnIndex)
Draws the expander icon for the group caption row.
Declaration
protected virtual void OnDrawExpanderIcon(Graphics graphics, Rectangle cellRectangle, CaptionSummaryStyleInfo style, DataColumnBase dataColumn, RowColumnIndex rowColumnIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | graphics | The System.Drawing.Graphics that used to draw the group expander cell. |
System.Drawing.Rectangle | cellRectangle | The cell rectangle of the group expander. |
CaptionSummaryStyleInfo | style | The style of the caption summary row. |
DataColumnBase | dataColumn | The data column of the group expander cell. |
RowColumnIndex | rowColumnIndex | The row and column index of the group expander cell. |
OnRender(Graphics, Rectangle, String, CellStyleInfo, DataColumnBase, RowColumnIndex)
Overridden to draw the group expander cell.
Declaration
protected override void OnRender(Graphics paint, Rectangle cellRect, string cellValue, CellStyleInfo style, DataColumnBase column, RowColumnIndex rowColumnIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | paint | The System.Drawing.Graphics that used to draw the cell. |
System.Drawing.Rectangle | cellRect | The bounds of the cell. |
System.String | cellValue | The value of the cell. |
CellStyleInfo | style | The CellStyleInfo of the cell. |
DataColumnBase | column | The DataColumnBase of the cell. |
RowColumnIndex | rowColumnIndex | The row and column index of the cell. |
Overrides
Implements
System.IDisposable