menu

Blazor

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

    Show / Hide Table of Contents

    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

    This property indicates the mode that the ColorPicker has switched to, either Picker or Palette.

    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 null.

    Remarks

    This property helps identify the specific mode switch event when using shared event handlers.

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