menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RichTextEditorFontColor - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    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

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved