Class CheckBoxFormControlRenderer
Custom renderer for CheckBox form control.
Inheritance
System.Object
GraphicCellRendererBase<System.Windows.Forms.CheckBox>
CheckBoxFormControlRenderer
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.Windows.Forms.Spreadsheet.GraphicCells
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class CheckBoxFormControlRenderer : GraphicCellRendererBase<CheckBox>, IGraphicCellRenderer, IDisposable
Constructors
CheckBoxFormControlRenderer()
Declaration
public CheckBoxFormControlRenderer()
Methods
OnCreateElement(GraphicObject)
Creates a new System.Windows.Forms.CheckBox.
Declaration
protected override CheckBox OnCreateElement(GraphicObject obj)
Parameters
Type | Name | Description |
---|---|---|
GraphicObject | obj |
Returns
Type | Description |
---|---|
System.Windows.Forms.CheckBox | System.Windows.Forms.CheckBox |
Overrides
Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicCellRendererBase<System.Windows.Forms.CheckBox>.OnCreateElement(Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicObject)
OnInitializeElement(GraphicCellControl, CheckBox, GraphicObject)
Initialize or update the properties of GraphicCellControl and its content.
Declaration
protected override void OnInitializeElement(GraphicCellControl container, CheckBox element, GraphicObject graphicObject)
Parameters
Type | Name | Description |
---|---|---|
GraphicCellControl | container | |
System.Windows.Forms.CheckBox | element | System.Windows.Forms.CheckBox |
GraphicObject | graphicObject |
Overrides
Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicCellRendererBase<System.Windows.Forms.CheckBox>.OnInitializeElement(Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicCellControl, System.Windows.Forms.CheckBox, Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicObject)
ShouldTryToHandleKeyDown(GraphicCellControl, PreviewKeyDownEventArgs)
To handle the keys if it the control is not selected
Declaration
public override bool ShouldTryToHandleKeyDown(GraphicCellControl control, PreviewKeyDownEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GraphicCellControl | control | |
System.Windows.Forms.PreviewKeyDownEventArgs | e | System.Windows.Forms.PreviewKeyDownEventArgs |
Returns
Type | Description |
---|---|
System.Boolean | True, if the control is not in selected position;else false. |
Overrides
Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicCellRendererBase<System.Windows.Forms.CheckBox>.ShouldTryToHandleKeyDown(Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicCellControl, System.Windows.Forms.PreviewKeyDownEventArgs)
UnWireUIElement(CheckBox)
To unwire/unhook UI elements
Declaration
protected override void UnWireUIElement(CheckBox element)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.CheckBox | element | System.Windows.Forms.CheckBox |
Overrides
Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicCellRendererBase<System.Windows.Forms.CheckBox>.UnWireUIElement(System.Windows.Forms.CheckBox)
WireUIElement(CheckBox)
To wire/hook UI events.
Declaration
protected override void WireUIElement(CheckBox element)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.CheckBox | element | System.Windows.Forms.CheckBox |
Overrides
Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicCellRendererBase<System.Windows.Forms.CheckBox>.WireUIElement(System.Windows.Forms.CheckBox)
Implements
System.IDisposable