Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.MaterialControls Namespace / DefaultMaterialBrushes Class / GetMaterialForeground(MaterialAccentEnum) Method
MaterialAccentEnum value representing the material color palette.


In This Topic
    GetMaterialForeground(MaterialAccentEnum) Method
    In This Topic

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

    Syntax
    'Declaration
     
    Public Shared Function GetMaterialForeground( _
       ByVal color As MaterialAccentEnum _
    ) As Brush
    'Usage
     
    Dim color As MaterialAccentEnum
    Dim value As Brush
     
    value = DefaultMaterialBrushes.GetMaterialForeground(color)
    public static Brush GetMaterialForeground( 
       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