menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class SwitchStateChangedEventArgs

    Represents switch state changed event arguments.

    Inheritance
    System.Object
    SwitchStateChangedEventArgs
    Namespace: Syncfusion.XForms.Buttons
    Assembly: Syncfusion.Buttons.XForms.dll
    Syntax
    public class SwitchStateChangedEventArgs : EventArgs
    Remarks

    It contains information like old value and new value.

    Constructors

    SwitchStateChangedEventArgs()

    Declaration
    public SwitchStateChangedEventArgs()

    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