Xceed Toolkit Plus for WPF v4.6 Documentation
OnMaterialAccentBrushChanged(Brush,Brush) Method


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace > MaterialSwitch Class : OnMaterialAccentBrushChanged(Brush,Brush) Method
The old value.
The new value.
Called when the MaterialAccentBrush property is changed.
Syntax
'Declaration
 
Protected Overridable Sub OnMaterialAccentBrushChanged( _

   ByVal oldValue As Brush, _

   ByVal newValue As Brush _

) 
'Usage
 
Dim instance As MaterialSwitch

Dim oldValue As Brush

Dim newValue As Brush

 

instance.OnMaterialAccentBrushChanged(oldValue, newValue)
protected virtual void OnMaterialAccentBrushChanged( 

   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