Class GridRowHeaderCellRenderer
Represents a class that maintains the rendering of GridRowHeaderCell in SfDataGrid.
Inheritance
System.Object
GridRowHeaderCellRenderer
Inherited Members
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class GridRowHeaderCellRenderer : GridVirtualizingCellRenderer<GridRowHeaderCell, GridRowHeaderCell>, IGridCellRenderer, IDisposable
Constructors
GridRowHeaderCellRenderer()
Initializes a new instance of GridRowHeaderCellRenderer class.
Declaration
public GridRowHeaderCellRenderer()
Methods
InitializeCellStyle(DataColumnBase, Object)
Initializes the custom style for cell when the corresponding API's and selectors are used.
Declaration
protected override void InitializeCellStyle(DataColumnBase dataColumn, object record)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | dataColumn | Specifies the corresponding DataColumnBase. |
System.Object | record | Specifies the corresponding record. |
Overrides
Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRendererBase<Syncfusion.UI.Xaml.Grid.GridRowHeaderCell, Syncfusion.UI.Xaml.Grid.GridRowHeaderCell>.InitializeCellStyle(Syncfusion.UI.Xaml.Grid.DataColumnBase, System.Object)
OnInitializeEditElement(DataColumnBase, GridRowHeaderCell, Object)
Initializes the binding for editor of corresponding column.
Declaration
public override void OnInitializeEditElement(DataColumnBase dataColumn, GridRowHeaderCell uiElement, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | dataColumn | Specifies the corresponding DataColumnBase. |
GridRowHeaderCell | uiElement | Specifies the corresponding renderer element. |
System.Object | dataContext | Specifies the dataContext of the cell. |
Overrides
Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRenderer<Syncfusion.UI.Xaml.Grid.GridRowHeaderCell, Syncfusion.UI.Xaml.Grid.GridRowHeaderCell>.OnInitializeEditElement(Syncfusion.UI.Xaml.Grid.DataColumnBase, Syncfusion.UI.Xaml.Grid.GridRowHeaderCell, System.Object)
OnRenderCell(DrawingContext, Rect, DataColumnBase, Object)
Declaration
protected override void OnRenderCell(DrawingContext dc, Rect cellRect, DataColumnBase dataColumnBase, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Media.DrawingContext | dc | |
System.Windows.Rect | cellRect | |
DataColumnBase | dataColumnBase | |
System.Object | dataContext |
Overrides
Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRendererBase<Syncfusion.UI.Xaml.Grid.GridRowHeaderCell, Syncfusion.UI.Xaml.Grid.GridRowHeaderCell>.OnRenderCell(System.Windows.Media.DrawingContext, System.Windows.Rect, Syncfusion.UI.Xaml.Grid.DataColumnBase, System.Object)
OnUpdateEditBinding(DataColumnBase, GridRowHeaderCell, Object)
Updates the binding for editor control of corresponding column.
Declaration
public override void OnUpdateEditBinding(DataColumnBase dataColumn, GridRowHeaderCell element, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | dataColumn | Specifies the corresponding DataColumnBase. |
GridRowHeaderCell | element | Specifies the corresponding renderer element. |
System.Object | dataContext | Specifies the dataContext of the cell. |
Overrides
Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRenderer<Syncfusion.UI.Xaml.Grid.GridRowHeaderCell, Syncfusion.UI.Xaml.Grid.GridRowHeaderCell>.OnUpdateEditBinding(Syncfusion.UI.Xaml.Grid.DataColumnBase, Syncfusion.UI.Xaml.Grid.GridRowHeaderCell, System.Object)
Implements
System.IDisposable