Class SpreadsheetRichTextBoxCellRenderer
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.Spreadsheet.CellRenderer
Assembly: Syncfusion.SfSpreadsheet.UWP.dll
Syntax
public class SpreadsheetRichTextBoxCellRenderer : SpreadsheetVirtualizingCellRendererBase<RichTextBlock, RichEditBox>, ISpreadsheetCellRenderer, IDisposable
  Constructors
SpreadsheetRichTextBoxCellRenderer()
Initializes a new instance of the SpreadsheetRichTextBoxCellRenderer class.
Declaration
public SpreadsheetRichTextBoxCellRenderer()
  Methods
GetControlValue()
Invoked to get the control value of the current cell .
Declaration
public override object GetControlValue()
  Returns
| Type | Description | 
|---|---|
| System.Object | The RichTextBox value as Flow document.  | 
      
Overrides
OnEditElementLoaded(Object, RoutedEventArgs)
Declaration
protected override void OnEditElementLoaded(object sender, RoutedEventArgs e)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | sender | |
| Windows.UI.Xaml.RoutedEventArgs | e | 
Overrides
OnInitializeDisplayElement(RowColumnIndex, RichTextBlock, SpreadsheetColumn)
Invoked when display element is initialized on the cell.
Declaration
protected override void OnInitializeDisplayElement(RowColumnIndex rowColumnIndex, RichTextBlock uiElement, SpreadsheetColumn column)
  Parameters
| Type | Name | Description | 
|---|---|---|
| RowColumnIndex | rowColumnIndex | Coordinates of a cell.  | 
      
| Windows.UI.Xaml.Controls.RichTextBlock | uiElement | An instance of   | 
      
| SpreadsheetColumn | column | An instance of SpreadsheetColumn.  | 
      
Overrides
OnInitializeEditElement(RowColumnIndex, RichEditBox, SpreadsheetColumn)
Initialize the edit element of RichTextBox on the cell.
Declaration
protected override void OnInitializeEditElement(RowColumnIndex rowColumnIndex, RichEditBox uiElement, SpreadsheetColumn column)
  Parameters
| Type | Name | Description | 
|---|---|---|
| RowColumnIndex | rowColumnIndex | Coordinates of a cell.  | 
      
| Windows.UI.Xaml.Controls.RichEditBox | uiElement | An instance of   | 
      
| SpreadsheetColumn | column | An instance of SpreadsheetColumn.  | 
      
Overrides
OnSaveChanges()
Save the modified cell value to the given range.
Declaration
protected override void OnSaveChanges()
  Overrides
OnUnwireEditUIElement(RichEditBox)
Unwire or unhook the events associated with the edit UIElement.
Declaration
protected override void OnUnwireEditUIElement(RichEditBox uiElement)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Windows.UI.Xaml.Controls.RichEditBox | uiElement | An instance of   | 
      
Overrides
OnUpdateCellStyle(RowColumnIndex, RichTextBlock, SpreadsheetColumn)
Update the uielements while scrolling or invalidating the cells.
Declaration
protected override void OnUpdateCellStyle(RowColumnIndex cellRowColumnIndex, RichTextBlock uiElement, SpreadsheetColumn column)
  Parameters
| Type | Name | Description | 
|---|---|---|
| RowColumnIndex | cellRowColumnIndex | |
| Windows.UI.Xaml.Controls.RichTextBlock | uiElement | |
| SpreadsheetColumn | column | 
Overrides
OnUpdateEditCellStyle(RowColumnIndex, RichEditBox, SpreadsheetColumn)
Update the cell style and content of edit element.
Declaration
protected override void OnUpdateEditCellStyle(RowColumnIndex cellRowColumnIndex, RichEditBox uiElement, SpreadsheetColumn column)
  Parameters
| Type | Name | Description | 
|---|---|---|
| RowColumnIndex | cellRowColumnIndex | Coordinates of a cell.  | 
      
| Windows.UI.Xaml.Controls.RichEditBox | uiElement | An instance of   | 
      
| SpreadsheetColumn | column | An instance of SpreadsheetColumn.  | 
      
Overrides
OnWireEditUIElement(RichEditBox)
Wire or hook the events associated with edit UIElement.
Declaration
protected override void OnWireEditUIElement(RichEditBox uiElement)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Windows.UI.Xaml.Controls.RichEditBox | uiElement | An instance of   | 
      
Overrides
ShouldGridTryToHandleKeyDown(KeyRoutedEventArgs)
Declaration
protected override bool ShouldGridTryToHandleKeyDown(KeyRoutedEventArgs e)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Windows.UI.Xaml.Input.KeyRoutedEventArgs | e | 
Returns
| Type | 
|---|
| System.Boolean |