Class RichText
Inheritance
System.Object
Syncfusion.EJ2.EJTagHelper
RichText
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.EJ2.Spreadsheet
Assembly: Syncfusion.AspNetMvc.Spreadsheet.dll
Syntax
public class RichText : EJTagHelper
Constructors
RichText()
Declaration
public RichText()
Properties
Style
Specifies the style of the segment using CellStyleModel, which represents the general cell styling configuration. However, in a rich text segment, only the superscript or subscript options are supported.
Declaration
public SpreadsheetCellStyle Style { get; set; }
Property Value
| Type | Description |
|---|---|
| SpreadsheetCellStyle | The default value is null |
Text
Specifies the text content of the segment.
Declaration
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is "" |