Class PreviewRowExpanderCellRenderer
Represents the class that used to draw the Expander columns for the preview rows.
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 PreviewRowExpanderCellRenderer : GridCellRendererBase, IGridCellRenderer<TableControl>, IDisposable
Constructors
PreviewRowExpanderCellRenderer()
Declaration
public PreviewRowExpanderCellRenderer()
Methods
OnMouseDown(DataColumnBase, RowColumnIndex, MouseEventArgs)
Occurs when mouse down event of the expander cell is raised.
Declaration
protected override void OnMouseDown(DataColumnBase dataColumn, RowColumnIndex rowColumnIndex, MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | dataColumn | The DataColumnBase of the expander cell. |
RowColumnIndex | rowColumnIndex | The row and column index of the expander cell. |
System.Windows.Forms.MouseEventArgs | e | The System.Windows.Forms.MouseEventArgs that contains the event data. |
Overrides
OnRender(Graphics, Rectangle, String, CellStyleInfo, DataColumnBase, RowColumnIndex)
Occurs when drawing the 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 expander cell. |
System.Drawing.Rectangle | cellRect | The cell rectangle. |
System.String | cellValue | The cell value. |
CellStyleInfo | style | The style of the cell. |
DataColumnBase | column | The DataColumnBase of the cell. |
RowColumnIndex | rowColumnIndex | The row and column index of the expander cell. |
Overrides
Implements
System.IDisposable