Edit

Share via


SystemColors.AccentColorBrush Property

Definition

Gets the brush corresponding to the AccentColor color.

public:
 static property System::Windows::Media::SolidColorBrush ^ AccentColorBrush { System::Windows::Media::SolidColorBrush ^ get(); };
public static System.Windows.Media.SolidColorBrush AccentColorBrush { get; }
static member AccentColorBrush : System.Windows.Media.SolidColorBrush
Public Shared ReadOnly Property AccentColorBrush As SolidColorBrush

Property Value

Remarks

AccentColor is the system accent color that's set by the user in OS settings.

When HighContrast is true, this property returns HighlightTextBrush.

Applies to