menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class RichTextEditorBackgroundColorBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    RichTextEditorBackgroundColorBuilder
    Namespace: Syncfusion.EJ2.RichTextEditor
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class RichTextEditorBackgroundColorBuilder : ControlBuilder

    Constructors

    RichTextEditorBackgroundColorBuilder()

    Declaration
    public RichTextEditorBackgroundColorBuilder()

    RichTextEditorBackgroundColorBuilder(RichTextEditorBackgroundColor)

    Declaration
    public RichTextEditorBackgroundColorBuilder(RichTextEditorBackgroundColor model)
    Parameters
    Type Name Description
    RichTextEditorBackgroundColor model

    Methods

    ColorCode(Object)

    Specifies custom color codes.

    Declaration
    public RichTextEditorBackgroundColorBuilder ColorCode(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    RichTextEditorBackgroundColorBuilder

    Columns(Double)

    Specifies the number of columns in the color palette.

    Declaration
    public RichTextEditorBackgroundColorBuilder Columns(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    RichTextEditorBackgroundColorBuilder

    Default(String)

    Specifies the default background color.

    Declaration
    public RichTextEditorBackgroundColorBuilder Default(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    RichTextEditorBackgroundColorBuilder

    Mode(ColorModeType)

    Specifies the color mode.

    Declaration
    public RichTextEditorBackgroundColorBuilder Mode(ColorModeType value)
    Parameters
    Type Name Description
    ColorModeType value
    Returns
    Type
    RichTextEditorBackgroundColorBuilder

    ModeSwitcher(Boolean)

    Enables or disables the mode switcher button.

    Declaration
    public RichTextEditorBackgroundColorBuilder ModeSwitcher(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    RichTextEditorBackgroundColorBuilder

    ShowRecentColors(Boolean)

    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 RichTextEditorBackgroundColorBuilder ShowRecentColors(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    RichTextEditorBackgroundColorBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved