menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ColorPickerEventArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ColorPickerEventArgs

    Provides information about the ValueChange and Selected event callbacks.

    Inheritance
    System.Object
    ColorPickerEventArgs
    ColorPickerSelectedEventArgs
    Namespace: Syncfusion.Blazor.Inputs
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ColorPickerEventArgs : Object
    Remarks

    This class contains event data for color selection and value change events, providing both current and previous color values.

    Constructors

    ColorPickerEventArgs()

    Declaration
    public ColorPickerEventArgs()

    Properties

    CurrentValue

    Gets or sets the current color value details.

    Declaration
    public ColorPickerValue CurrentValue { get; set; }
    Property Value
    Type Description
    ColorPickerValue

    A ColorPickerValue object that represents the current color value details. The default value is null.

    Remarks

    Contains the color information in both hexadecimal and RGBA formats for the newly selected or changed color.

    Name

    Gets or sets the name of the event being triggered.

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

    A string value indicating the event name (e.g., "ValueChange", "Selected"). The default value is null.

    Remarks

    This property helps identify which specific event is being triggered when using shared event handlers.

    PreviousValue

    Gets or sets the previous color value details.

    Declaration
    public ColorPickerValue PreviousValue { get; set; }
    Property Value
    Type Description
    ColorPickerValue

    A ColorPickerValue object that represents the previous color value details. The default value is null.

    Remarks

    Contains the color information in both hexadecimal and RGBA formats for the previously selected color before the change. This allows for comparison between old and new values in event handlers.

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