Class GridCardCaptionCellRenderer
Implements the renderer part of a card caption cell.
Inheritance
System.Object
GridCardCaptionCellRenderer
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)
Namespace: Syncfusion.GridHelperClasses
Assembly: Syncfusion.GridHelperClasses.Windows.dll
Syntax
public class GridCardCaptionCellRenderer : GridPushButtonCellRenderer, IQueryFocusInside, IGridDropDownCell, IPopupParent, IPopupItem, IDisposable
Constructors
GridCardCaptionCellRenderer(GridControlBase, GridCellModelBase, GridCardView)
Initializes a new instance of the GridCardCaptionCellRenderer class.
Declaration
public GridCardCaptionCellRenderer(GridControlBase grid, GridCellModelBase cellModel, GridCardView card)
Parameters
Type | Name | Description |
---|---|---|
GridControlBase | grid | The grid control. |
GridCellModelBase | cellModel | The cell model. |
GridCardView | card | GridCardView |
Methods
OnDrawCellButtonBackground(GridCellButton, Graphics, Rectangle, ButtonState, GridStyleInfo)
Overridden to draw the button and it is triggered when the background for cell is drawn.
Declaration
protected override void OnDrawCellButtonBackground(GridCellButton button, Graphics g, Rectangle rect, ButtonState buttonState, GridStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
GridCellButton | button | GridCellButton. |
System.Drawing.Graphics | g | Graphics. |
System.Drawing.Rectangle | rect | Rectangle. |
System.Windows.Forms.ButtonState | buttonState | ButtonState. |
GridStyleInfo | style | GridStyleInfo. |
Overrides
Implements
System.IDisposable