Class GridCellRenderEventArgs
Provides data about the cancelable
Inherited Members
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public sealed class GridCellRenderEventArgs : SyncfusionRoutedEventArgs
Remarks
GridDrawCellEventArgs is a custom event argument class used by the
Constructors
GridCellRenderEventArgs(GridStyleInfo, RenderCellArgs, DrawingContext, RoutedEvent, Object)
Initializes a new GridCellRenderEventArgs.
Declaration
public GridCellRenderEventArgs(GridStyleInfo style, RenderCellArgs rca, DrawingContext dc, RoutedEvent routedEvent, object source)
Parameters
Type | Name | Description |
---|---|---|
GridStyleInfo | style | Cell style. |
RenderCellArgs | rca | Render cell information. |
System.Windows.Media.DrawingContext | dc | Drawing context. |
System.Windows.RoutedEvent | routedEvent | Routed event. |
System.Object | source | Event source. |
Properties
DrawingContext
Gets the drawing context associated with the current cell that is getting rendered. Do not dispose the DrawingContext in the event.
Declaration
[TraceProperty(true)]
public DrawingContext DrawingContext { get; }
Property Value
Type | Description |
---|---|
System.Windows.Media.DrawingContext | The drawing context. |
RenderCellArgs
Layout information about the cell.
Declaration
[TraceProperty(true)]
public RenderCellArgs RenderCellArgs { get; }
Property Value
Type |
---|
RenderCellArgs |
Style
Gets the style object associated with that cell.
Declaration
[TraceProperty(true)]
public GridStyleInfo Style { get; }
Property Value
Type |
---|
GridStyleInfo |
Remarks
Changes to the style object are allowed. However, these changes
will not be saved back in the grid or cached. But, you can make some
adjustments to the style object just before the cell is drawn.
You cannot change Base Style, Interior, or Cell Type at this time.
See