menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridRowHeaderCellRenderer - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridRowHeaderCellRenderer

    Represents the class that used for drawing the row header cell.

    Inheritance
    System.Object
    GridCellRendererBase
    GridRowHeaderCellRenderer
    Implements
    IGridCellRenderer<TableControl>
    System.IDisposable
    Inherited Members
    GridCellRendererBase.BeginEdit(DataColumnBase, RowColumnIndex)
    GridCellRendererBase.CanValidate()
    GridCellRendererBase.CurrentCellIndex
    GridCellRendererBase.CurrentCellRendererElement
    GridCellRendererBase.Dispose()
    GridCellRendererBase.Dispose(Boolean)
    GridCellRendererBase.DrawErrorIcon(Graphics, Rectangle, Bitmap, RowColumnIndex)
    GridCellRendererBase.EndEdit(DataColumnBase, RowColumnIndex)
    GridCellRendererBase.GetCellValue()
    GridCellRendererBase.GetControlValue()
    GridCellRendererBase.GetEditorUIElementBounds()
    GridCellRendererBase.HasCurrentCellState
    GridCellRendererBase.IGridCellRenderer<TableControl>.OnDrawCurrentCell(Graphics, SfDataGrid, RowColumnIndex)
    GridCellRendererBase.IsEditable
    GridCellRendererBase.IsFocusable
    GridCellRendererBase.IsFocused
    GridCellRendererBase.IsHovered
    GridCellRendererBase.IsInEditing
    GridCellRendererBase.IsPressed
    GridCellRendererBase.KeyDown(DataColumnBase, RowColumnIndex, KeyEventArgs)
    GridCellRendererBase.KeyPress(DataColumnBase, RowColumnIndex, KeyPressEventArgs)
    GridCellRendererBase.KeyUp(DataColumnBase, RowColumnIndex, KeyEventArgs)
    GridCellRendererBase.MouseDoubleClick(DataColumnBase, RowColumnIndex, MouseEventArgs)
    GridCellRendererBase.MouseDown(DataColumnBase, RowColumnIndex, MouseEventArgs)
    GridCellRendererBase.MouseHover(DataColumnBase, RowColumnIndex, MouseEventArgs)
    GridCellRendererBase.MouseHoverLeave(DataColumnBase, RowColumnIndex, MouseEventArgs)
    GridCellRendererBase.MouseMove(DataColumnBase, RowColumnIndex, MouseEventArgs)
    GridCellRendererBase.MouseUp(DataColumnBase, RowColumnIndex, MouseEventArgs)
    GridCellRendererBase.OnDrawCurrentCell(Graphics, SfDataGrid, RowColumnIndex)
    GridCellRendererBase.OnDrawErrorIcon(Graphics, Rectangle, Bitmap, RowColumnIndex)
    GridCellRendererBase.OnKeyDown(DataColumnBase, RowColumnIndex, KeyEventArgs)
    GridCellRendererBase.OnKeyPress(DataColumnBase, RowColumnIndex, KeyPressEventArgs)
    GridCellRendererBase.OnKeyUp(DataColumnBase, RowColumnIndex, KeyEventArgs)
    GridCellRendererBase.OnMouseDoubleClick(DataColumnBase, RowColumnIndex, MouseEventArgs)
    GridCellRendererBase.OnMouseDown(DataColumnBase, RowColumnIndex, MouseEventArgs)
    GridCellRendererBase.OnMouseHover(DataColumnBase, RowColumnIndex, MouseEventArgs)
    GridCellRendererBase.OnMouseHoverLeave(DataColumnBase, RowColumnIndex, MouseEventArgs)
    GridCellRendererBase.OnMouseUp(DataColumnBase, RowColumnIndex, MouseEventArgs)
    GridCellRendererBase.OnUpdateEditElement(DataColumnBase, Control, Rectangle)
    GridCellRendererBase.Render(Graphics, Rectangle, String, CellStyleInfo, DataColumnBase, RowColumnIndex)
    GridCellRendererBase.ResetCurrentCellState()
    GridCellRendererBase.SetControlValue(Object)
    GridCellRendererBase.SetCurrentCellState(RowColumnIndex, Control, Boolean, Boolean)
    GridCellRendererBase.SetFocus(Boolean)
    GridCellRendererBase.SetFocus(Control, Boolean)
    GridCellRendererBase.ShowValidationErrorToolTip(SfToolTip, DataColumnBase, RowColumnIndex, Point)
    GridCellRendererBase.TableControl
    GridCellRendererBase.UnloadUIElement()
    GridCellRendererBase.UpdateCurrentCellState(Control, Boolean)
    GridCellRendererBase.UpdateEditElement(DataColumnBase, Control, Rectangle)
    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 GridRowHeaderCellRenderer : GridCellRendererBase, IGridCellRenderer<TableControl>, IDisposable

    Constructors

    GridRowHeaderCellRenderer()

    Initializes a new instance of the GridRowHeaderCellRenderer class.

    Declaration
    public GridRowHeaderCellRenderer()

    Methods

    DrawAddNewRowIcon(Graphics, Rectangle, Bitmap)

    Draws the add new row icon in row header cell of the add new row.

    Declaration
    protected virtual void DrawAddNewRowIcon(Graphics g, Rectangle rect, Bitmap icon)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    The System.Drawing.Graphics that used to draw the add new row icon.

    System.Drawing.Rectangle rect

    The rectangle region that needs to draw the add new row icon.

    System.Drawing.Bitmap icon

    The add new row icon.

    Remarks

    The add new row icon draws only when current cell not in add new row.

    DrawSelectionMarker(Graphics, Rectangle)

    Draw the selection cell marker on the row header of the current cell.

    Declaration
    protected virtual void DrawSelectionMarker(Graphics graphics, Rectangle rect)
    Parameters
    Type Name Description
    System.Drawing.Graphics graphics

    The System.Drawing.Graphics that used to draw the row header cell.

    System.Drawing.Rectangle rect

    The bounds of the row header cell.

    OnMouseMove(DataColumnBase, RowColumnIndex, MouseEventArgs)

    Occurs when the mouse moves on the cell.

    Declaration
    protected override void OnMouseMove(DataColumnBase dataColumn, RowColumnIndex rowColumnIndex, MouseEventArgs e)
    Parameters
    Type Name Description
    DataColumnBase dataColumn

    The DataColumnBase of the cell.

    RowColumnIndex rowColumnIndex

    RowColumnIndex of the cell.

    System.Windows.Forms.MouseEventArgs e

    The System.Windows.Forms.MouseEventArgs contains the event data.

    Overrides
    GridCellRendererBase.OnMouseMove(DataColumnBase, RowColumnIndex, MouseEventArgs)

    OnRender(Graphics, Rectangle, String, CellStyleInfo, DataColumnBase, RowColumnIndex)

    Overridden to draw the row header 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 row header cell.

    System.Drawing.Rectangle cellRect

    The bounds of the row header cell.

    System.String cellValue

    The value of the row header cell.

    CellStyleInfo style

    The CellStyleInfo of the row header cell.

    DataColumnBase column

    The DataColumnBase of the row header cell.

    RowColumnIndex rowColumnIndex

    The row and column index of the cell.

    Overrides
    GridCellRendererBase.OnRender(Graphics, Rectangle, String, CellStyleInfo, DataColumnBase, RowColumnIndex)

    Implements

    IGridCellRenderer<T>
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved