Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit Namespace / MaterialSwitch Class / OnIsCheckedValueChanged Method
The old value.
The new value.


In This Topic
    OnIsCheckedValueChanged Method (MaterialSwitch)
    In This Topic
    Overrides the OnIsCheckedValueChanged method.
    Syntax
    'Declaration
     
    Protected Overrides Sub OnIsCheckedValueChanged( _
       ByVal oldValue As Nullable(Of Boolean), _
       ByVal newValue As Nullable(Of Boolean) _
    ) 
    'Usage
     
    Dim instance As MaterialSwitch
    Dim oldValue As Nullable(Of Boolean)
    Dim newValue As Nullable(Of Boolean)
     
    instance.OnIsCheckedValueChanged(oldValue, newValue)
    protected override void OnIsCheckedValueChanged( 
       Nullable<bool> oldValue,
       Nullable<bool> newValue
    )

    Parameters

    oldValue
    The old value.
    newValue
    The new value.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also