Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenColorPicker

    RadzenColorPicker component.

    Inheritance
    System.Object
    RadzenComponent
    FormComponent<System.String>
    RadzenColorPicker
    Implements
    IDisposable
    IRadzenFormComponent
    Inherited Members
    FormComponent<String>.Name
    FormComponent<String>.TabIndex
    FormComponent<String>.Placeholder
    FormComponent<String>.Disabled
    FormComponent<String>.EditContext
    FormComponent<String>.Form
    FormComponent<String>.ValueChanged
    FormComponent<String>.HasValue
    FormComponent<String>.IsBound
    FormComponent<String>._value
    FormComponent<String>.Value
    FormComponent<String>.Change
    FormComponent<String>.FieldIdentifier
    FormComponent<String>.ValueExpression
    FormComponent<String>.Dispose()
    FormComponent<String>.GetValue()
    FormComponent<String>.OnContextMenu(MouseEventArgs)
    FormComponent<String>.GetClassList(String)
    FormComponent<String>.FormFieldContext
    FormComponent<String>.CurrentPlaceholder
    FormComponent<String>.FocusAsync()
    RadzenComponent.Attributes
    RadzenComponent.Element
    RadzenComponent.MouseEnter
    RadzenComponent.MouseLeave
    RadzenComponent.ContextMenu
    RadzenComponent.Culture
    RadzenComponent.DefaultCulture
    RadzenComponent.OnMouseEnter()
    RadzenComponent.OnMouseLeave()
    RadzenComponent.OnContextMenu(Microsoft.AspNetCore.Components.Web.MouseEventArgs)
    RadzenComponent.Style
    RadzenComponent.Visible
    RadzenComponent.GetCssClass()
    RadzenComponent.GetId()
    RadzenComponent.Debounce(Func<Task>, Int32)
    RadzenComponent.UniqueID
    RadzenComponent.JSRuntime
    RadzenComponent.IsJSRuntimeAvailable
    RadzenComponent.Reference
    RadzenComponent.OnAfterRenderAsync(Boolean)
    RadzenComponent.RaiseContextMenu(Microsoft.AspNetCore.Components.Web.MouseEventArgs)
    RadzenComponent.RaiseMouseEnter()
    RadzenComponent.RaiseMouseLeave()
    RadzenComponent.CurrentStyle
    Namespace: Radzen.Blazor
    Assembly: Radzen.Blazor.dll
    Syntax
    public class RadzenColorPicker : FormComponent<string>, IDisposable, IRadzenFormComponent
    Examples
    <RadzenColorPicker @bind-Value=@color Change=@(args => Console.WriteLine($"Selected color: {args}")) />

    Properties

    AlphaText

    Gets or sets the alpha label text.

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

    The alpha text.

    BlueText

    Gets or sets the blue color label text.

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

    The blue text.

    ButtonText

    Gets or sets the button text.

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

    The button text.

    ChildContent

    Gets or sets the child content.

    Declaration
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type Description
    RenderFragment

    The child content.

    Close

    Gets or sets the close callback.

    Declaration
    public EventCallback Close { get; set; }
    Property Value
    Type Description
    EventCallback

    The close callback.

    GreenText

    Gets or sets the green color label text.

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

    The green text.

    HexText

    Gets or sets the hexadecimal color label text.

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

    The hexadecimal text.

    Icon

    Gets or sets the icon.

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

    The icon.

    IconColor

    Gets or sets the icon color.

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

    The icon color.

    Open

    Gets or sets the open callback.

    Declaration
    public EventCallback Open { get; set; }
    Property Value
    Type Description
    EventCallback

    The open callback.

    PopupRenderMode

    Gets or sets the render mode.

    Declaration
    public PopupRenderMode PopupRenderMode { get; set; }
    Property Value
    Type Description
    PopupRenderMode

    The render mode.

    RedText

    Gets or sets the red color label text.

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

    The red text.

    ShowButton

    Gets or sets a value indicating whether button is shown.

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

    true if button shown; otherwise, false.

    ShowColors

    Gets or sets a value indicating whether colors are shown.

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

    true if colors are shown; otherwise, false.

    ShowHSV

    Gets or sets a value indicating whether HSV is shown.

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

    true if HSV is shown; otherwise, false.

    ShowRGBA

    Gets or sets a value indicating whether RGBA is shown.

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

    true if RGBA is shown; otherwise, false.

    ToggleAriaLabel

    Gets or sets the toggle popup aria label text.

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

    The toggle popup aria label text.

    Methods

    GetComponentCssClass()

    Gets the component CSS class.

    Declaration
    protected override string GetComponentCssClass()
    Returns
    Type Description
    System.String
    Overrides
    RadzenComponent.GetComponentCssClass()

    OnInitialized()

    Called by the Blazor runtime.

    Declaration
    protected override void OnInitialized()
    Overrides
    RadzenComponent.OnInitialized()

    SetParametersAsync(ParameterView)

    Sets the parameters asynchronous.

    Declaration
    public override async Task SetParametersAsync(ParameterView parameters)
    Parameters
    Type Name Description
    ParameterView parameters

    The parameters.

    Returns
    Type Description
    Task

    Task.

    Overrides
    Radzen.FormComponent<System.String>.SetParametersAsync(ParameterView)

    Implements

    IDisposable
    IRadzenFormComponent

    Introducing Radzen Blazor Studio

    Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

    Learn More

    Download Now
    Download Now
    In This Article
    Back to top Radzen Blazor Components, © 2018-2025 Radzen. Source Code licensed under MIT