Class GraphicRichTextCellRenderer
Custom GraphicCellRenderer for System.Windows.Forms.RichTextBox celltype.
Inheritance
System.Object
GraphicCellRendererBase<System.Windows.Forms.RichTextBox>
GraphicRichTextCellRenderer
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 GraphicRichTextCellRenderer : GraphicCellRendererBase<RichTextBox>, IGraphicCellRenderer, IDisposable
Constructors
GraphicRichTextCellRenderer()
Declaration
public GraphicRichTextCellRenderer()
Methods
GetControlValue()
Declaration
public override object GetControlValue()
Returns
Type |
---|
System.Object |
Overrides
Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicCellRendererBase<System.Windows.Forms.RichTextBox>.GetControlValue()
OnCreateElement(GraphicObject)
Creates a new System.Windows.Forms.RichTextBox.
Declaration
protected override RichTextBox OnCreateElement(GraphicObject graphicObject)
Parameters
Type | Name | Description |
---|---|---|
GraphicObject | graphicObject |
Returns
Type | Description |
---|---|
System.Windows.Forms.RichTextBox | System.Windows.Forms.RichTextBox |
Overrides
Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicCellRendererBase<System.Windows.Forms.RichTextBox>.OnCreateElement(Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicObject)
OnInitializeElement(GraphicCellControl, RichTextBox, GraphicObject)
Initialize or update the properties of GraphicCellControl and its content.
Declaration
protected override void OnInitializeElement(GraphicCellControl container, RichTextBox element, GraphicObject graphicObject)
Parameters
Type | Name | Description |
---|---|---|
GraphicCellControl | container | |
System.Windows.Forms.RichTextBox | element | System.Windows.Forms.RichTextBox |
GraphicObject | graphicObject |
Overrides
Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicCellRendererBase<System.Windows.Forms.RichTextBox>.OnInitializeElement(Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicCellControl, System.Windows.Forms.RichTextBox, Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicObject)
ShouldTryToHandleKeyDown(GraphicCellControl, PreviewKeyDownEventArgs)
Used for RendererElement to handle the keydown.
Declaration
public override bool ShouldTryToHandleKeyDown(GraphicCellControl control, PreviewKeyDownEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GraphicCellControl | control | GraphicCellControl |
System.Windows.Forms.PreviewKeyDownEventArgs | e |
Returns
Type | Description |
---|---|
System.Boolean | Returns true, if renderer element handles the key down |
Overrides
Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicCellRendererBase<System.Windows.Forms.RichTextBox>.ShouldTryToHandleKeyDown(Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicCellControl, System.Windows.Forms.PreviewKeyDownEventArgs)
UnWireUIElement(RichTextBox)
Unhook events
Declaration
protected override void UnWireUIElement(RichTextBox element)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.RichTextBox | element |
Overrides
Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicCellRendererBase<System.Windows.Forms.RichTextBox>.UnWireUIElement(System.Windows.Forms.RichTextBox)
WireUIElement(RichTextBox)
Hook events
Declaration
protected override void WireUIElement(RichTextBox element)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.RichTextBox | element |
Overrides
Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicCellRendererBase<System.Windows.Forms.RichTextBox>.WireUIElement(System.Windows.Forms.RichTextBox)
Implements
System.IDisposable