Class RichTextEditorFontColor
Inheritance
System.Object
Syncfusion.EJ2.EJTagHelper
RichTextEditorFontColor
Namespace: Syncfusion.EJ2.RichTextEditor
Assembly: Syncfusion.EJ2.dll
Syntax
public class RichTextEditorFontColor : EJTagHelper
Constructors
RichTextEditorFontColor()
Declaration
public RichTextEditorFontColor()
Properties
ColorCode
Specifies custom color codes.
Declaration
public object ColorCode { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Columns
Specifies the number of columns in the color palette.
Declaration
public double Columns { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 10 |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
Default
Specifies the default font color.
Declaration
public string Default { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "#ff0000" |
Mode
Specifies the color mode.
Declaration
public ColorModeType Mode { get; set; }
Property Value
Type | Description |
---|---|
ColorModeType | The default value is ColorModeType.Palette |
ModeSwitcher
Enables or disables the mode switcher button.
Declaration
public bool ModeSwitcher { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
ShowRecentColors
Indicates whether the recent colors section is shown in the toolbar's fontColor. This property enables the section in the toolbar's font color picker that displays the recently selected colors for quick access. This will allow quick re-use of colors that were recently selected, saving time and improving efficiency.
Declaration
public bool ShowRecentColors { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |