Class ModeSwitchEventArgs
Provides information about the ModeSwitch
event callback.
Inheritance
System.Object
ModeSwitchEventArgs
Namespace: Syncfusion.Blazor.Inputs
Assembly: Syncfusion.Blazor.dll
Syntax
public class ModeSwitchEventArgs : Object
Remarks
This class contains event data for mode switching between Picker and Palette modes in the ColorPicker component.
Constructors
ModeSwitchEventArgs()
Declaration
public ModeSwitchEventArgs()
Properties
Mode
Gets or sets the ColorPicker mode after the switch operation.
Declaration
public ColorPickerMode Mode { get; set; }
Property Value
Type | Description |
---|---|
ColorPickerMode | One of the ColorPickerMode enumeration values that represents the new ColorPicker mode. |
Remarks
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. The default value is |
Remarks
This property helps identify the specific mode switch event when using shared event handlers.