Class RichTextBoxHelper
Helper class which maintains the richtextbox operations involving the editing, conversion of rich text into flow document and drawing of richtext box in the specified cell of SfSpreadsheet.
Inheritance
System.Object
RichTextBoxHelper
Namespace: Syncfusion.UI.Xaml.Spreadsheet.Helpers
Assembly: Syncfusion.SfSpreadsheet.UWP.dll
Syntax
public static class RichTextBoxHelper : Object
Methods
AppendFormat(SpreadsheetGrid, IFont, Run)
This method returns
Declaration
public static Run AppendFormat(SpreadsheetGrid grid, IFont charfont, Run run)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetGrid | grid | An instance of SpreadsheetGrid. |
IFont | charfont | An instance of IFont. |
Windows.UI.Xaml.Documents.Run | run | An instance of |
Returns
Type |
---|
Windows.UI.Xaml.Documents.Run |
ConvertRichTextToBlocks(SpreadsheetGrid, IRichTextString, RichTextBlock)
Declaration
public static BlockCollection ConvertRichTextToBlocks(this SpreadsheetGrid grid, IRichTextString richText, RichTextBlock textblock)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetGrid | grid | |
IRichTextString | richText | |
Windows.UI.Xaml.Controls.RichTextBlock | textblock |
Returns
Type |
---|
Windows.UI.Xaml.Documents.BlockCollection |