Xceed Toolkit Plus for WPF v4.6 Documentation
OnMaterialAccentChanged(MaterialAccentEnum,MaterialAccentEnum) Method


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace > MaterialSwitch Class : OnMaterialAccentChanged(MaterialAccentEnum,MaterialAccentEnum) Method
The old value.
The new value.
Called when the MaterialAccent property is changed.
Syntax
'Declaration
 
Protected Overridable Sub OnMaterialAccentChanged( _
   ByVal oldValue As MaterialAccentEnum, _
   ByVal newValue As MaterialAccentEnum _
) 
'Usage
 
Dim instance As MaterialSwitch
Dim oldValue As MaterialAccentEnum
Dim newValue As MaterialAccentEnum
 
instance.OnMaterialAccentChanged(oldValue, newValue)
protected virtual void OnMaterialAccentChanged( 
   MaterialAccentEnum oldValue,
   MaterialAccentEnum 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