Xceed Toolkit Plus for WPF v4.6 Documentation
GetMaterialAccentBrush Method


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.MaterialControls Namespace > DefaultMaterialBrushes Class : GetMaterialAccentBrush Method
MaterialAccentEnum value representing the material color palette.

Returns the backgound brush corresponding to the specified material color palette.

Syntax
'Declaration
 
Public Shared Function GetMaterialAccentBrush( _
   ByVal color As MaterialAccentEnum _
) As Brush
'Usage
 
Dim color As MaterialAccentEnum
Dim value As Brush
 
value = DefaultMaterialBrushes.GetMaterialAccentBrush(color)
public static Brush GetMaterialAccentBrush( 
   MaterialAccentEnum color
)

Parameters

color
MaterialAccentEnum value representing the material color palette.
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

DefaultMaterialBrushes Class
DefaultMaterialBrushes Members