Class GraphicRichTextCellRenderer
Custom GraphicCellRenderer for System.Windows.Controls.RichTextBox celltype.
Inheritance
System.Object
GraphicCellRendererBase<System.Windows.Controls.RichTextBox>
GraphicRichTextCellRenderer
Inherited Members
Namespace: Syncfusion.UI.Xaml.Spreadsheet.GraphicCells
Assembly: Syncfusion.SfSpreadsheet.WPF.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.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellRendererBase<System.Windows.Controls.RichTextBox>.GetControlValue()
OnCreateElement(GraphicObject)
Creates a new System.Windows.Controls.RichTextBox.
Declaration
protected override RichTextBox OnCreateElement(GraphicObject graphicObject)
Parameters
Type | Name | Description |
---|---|---|
GraphicObject | graphicObject |
Returns
Type | Description |
---|---|
System.Windows.Controls.RichTextBox | System.Windows.Controls.RichTextBox |
Overrides
Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellRendererBase<System.Windows.Controls.RichTextBox>.OnCreateElement(Syncfusion.UI.Xaml.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.Controls.RichTextBox | element | System.Windows.Controls.RichTextBox |
GraphicObject | graphicObject |
Overrides
Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellRendererBase<System.Windows.Controls.RichTextBox>.OnInitializeElement(Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellControl, System.Windows.Controls.RichTextBox, Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicObject)
ShouldTryToHandleKeyDown(GraphicCellControl, KeyEventArgs)
Used for RendererElement to handle the keydown.
Declaration
public override bool ShouldTryToHandleKeyDown(GraphicCellControl control, KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GraphicCellControl | control | GraphicCellControl |
System.Windows.Input.KeyEventArgs | e |
Returns
Type | Description |
---|---|
System.Boolean | Returns true, if renderer element handles the key down |
Overrides
Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellRendererBase<System.Windows.Controls.RichTextBox>.ShouldTryToHandleKeyDown(Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellControl, System.Windows.Input.KeyEventArgs)
UnWireUIElement(RichTextBox)
Unhook events
Declaration
protected override void UnWireUIElement(RichTextBox element)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.RichTextBox | element |
Overrides
Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellRendererBase<System.Windows.Controls.RichTextBox>.UnWireUIElement(System.Windows.Controls.RichTextBox)
WireUIElement(RichTextBox)
Hook events
Declaration
protected override void WireUIElement(RichTextBox element)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Controls.RichTextBox | element |
Overrides
Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellRendererBase<System.Windows.Controls.RichTextBox>.WireUIElement(System.Windows.Controls.RichTextBox)
Implements
System.IDisposable