Xceed Toolkit Plus for WPF v4.6 Documentation
OnThumbBackgroundChanged Method (MaterialSwitch)


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace > MaterialSwitch Class : OnThumbBackgroundChanged Method
The old value.
The new value.
Overrides the OnThumbBackgroundChanged method.
Syntax
'Declaration
 
Protected Overrides Sub OnThumbBackgroundChanged( _
   ByVal oldValue As Brush, _
   ByVal newValue As Brush _
) 
'Usage
 
Dim instance As MaterialSwitch
Dim oldValue As Brush
Dim newValue As Brush
 
instance.OnThumbBackgroundChanged(oldValue, newValue)
protected override void OnThumbBackgroundChanged( 
   Brush oldValue,
   Brush 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

Reference

MaterialSwitch Class
MaterialSwitch Members
Base Implementation in OnThumbBackgroundChanged