menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class RibbonColorPickerSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    RibbonColorPickerSettings
    Namespace: Syncfusion.EJ2.Ribbon
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class RibbonColorPickerSettings : EJTagHelper

    Constructors

    RibbonColorPickerSettings()

    Declaration
    public RibbonColorPickerSettings()

    Properties

    BeforeClose

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

    The default value is null

    BeforeOpen

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

    The default value is null

    BeforeTileRender

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

    The default value is null

    Change

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

    The default value is null

    Columns

    Defines the number of columns to be rendered in the color picker 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>

    Created

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

    The default value is null

    CssClass

    Defines one or more CSS classes to customize the appearance of the color picker.

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

    The default value is ""

    EnableOpacity

    Defines whether to enable the opacity option in the color picker.

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

    The default value is true

    HtmlAttributes

    Specifies additional HTML attributes to be applied to the color picker.

    Declaration
    public object HtmlAttributes { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Label

    Specifies the label text for the overflow item.

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

    The default value is ""

    Mode

    Defines the rendering mode of the color picker.

    Declaration
    public object Mode { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    ModeSwitcher

    Defines whether to show / hide the mode switcher button in the color picker.

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

    The default value is true

    NoColor

    Defines whether to enable / disable the palette section in the color picker.

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

    The default value is false

    Open

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

    The default value is null

    PresetColors

    Defines the custom colors to load in the color picker palette.

    Declaration
    public object PresetColors { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Select

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

    The default value is null

    ShowButtons

    Defines whether to show / hide the control buttons (apply / cancel) in the color picker.

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

    The default value is true

    Value

    Specifies the value of the color picker. The value should be a valid hex color code.

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

    The default value is "#008000ff"

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