menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SwitchStateChangingEventArgs - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SwitchStateChangingEventArgs

    Represents switch state changing event arguments.

    Inheritance
    System.Object
    CancelEventArgs
    SwitchStateChangingEventArgs
    Inherited Members
    CancelEventArgs.Cancel
    Namespace: Syncfusion.XForms.Buttons
    Assembly: Syncfusion.Buttons.XForms.dll
    Syntax
    public class SwitchStateChangingEventArgs : CancelEventArgs
    Remarks

    It contains information like old value and new value.

    Constructors

    SwitchStateChangingEventArgs()

    Declaration
    public SwitchStateChangingEventArgs()

    Properties

    NewValue

    Gets or set a new value when switch state is changed.

    Declaration
    public Nullable<bool> NewValue { get; }
    Property Value
    Type
    System.Nullable<System.Boolean>

    OldValue

    Gets or set a old value when switch state is changed.

    Declaration
    public Nullable<bool> OldValue { get; }
    Property Value
    Type
    System.Nullable<System.Boolean>
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved