Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ColorItemBase - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ColorItemBase

    A class used for configuring the font or background color properties in the Rich Text Editor.

    Inheritance
    System.Object
    Syncfusion.Blazor.SfBaseComponent
    ColorItemBase
    RichTextEditorBackgroundColor
    RichTextEditorFontColor
    Namespace: Syncfusion.Blazor.RichTextEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ColorItemBase : SfBaseComponent

    Constructors

    ColorItemBase()

    Declaration
    public ColorItemBase()

    Properties

    ColorCode

    Specifies the value to customize color code of the color picker.

    Declaration
    public Dictionary<string, string[]> ColorCode { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, System.String[]>

    Columns

    Specifies the number of columns that is displayed in the color picker.

    Declaration
    public int Columns { get; set; }
    Property Value
    Type Description
    System.Int32

    Default

    Specifies the color value that is displayed by default in the color picker.

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

    Mode

    Specifies the rendering mode

    Declaration
    public ColorPickerMode Mode { get; set; }
    Property Value
    Type Description
    ColorPickerMode

    ModeSwitcher

    Specifies whether to enable or disable the ModeSwitcher button.

    Declaration
    public bool ModeSwitcher { get; set; }
    Property Value
    Type Description
    System.Boolean

    parent

    Declaration
    protected virtual SfRichTextEditor parent { get; set; }
    Property Value
    Type Description
    SfRichTextEditor

    Methods

    GetColorType()

    Declaration
    protected virtual string GetColorType()
    Returns
    Type Description
    System.String

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    Syncfusion.Blazor.SfBaseComponent.OnInitializedAsync()

    OnParametersSetAsync()

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    PropertyChangeHandler(Dictionary<String, Object>.KeyCollection)

    Declaration
    protected virtual void PropertyChangeHandler(Dictionary<string, object>.KeyCollection keys)
    Parameters
    Type Name Description
    System.Collections.Generic.Dictionary.KeyCollection<> keys
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved