menu

ASP.NET Core - EJ2

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

    Show / Hide Table of Contents

    Class RichTextEditorBackgroundColor

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    RichTextEditorBackgroundColor
    Namespace: Syncfusion.EJ2.RichTextEditor
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class RichTextEditorBackgroundColor : EJTagHelper

    Constructors

    RichTextEditorBackgroundColor()

    Declaration
    public RichTextEditorBackgroundColor()

    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 background color.

    Declaration
    public string Default { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "#ffff00"

    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 backgroundColor. 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

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