ItemHelper.

GetActiveSelectionForegroundBrush(UIElement) Method

Summary

Gets the brush the foreground brush which will be used for the active selected item (if the keyboard focus is within).
Namespace
MahApps.Metro.Controls
Containing Type
ItemHelper

Syntax

[Category(AppName.MahApps)]
[AttachedPropertyBrowsableForType(typeof(ListBoxItem))]
[AttachedPropertyBrowsableForType(typeof(TreeViewItem))]
public static Brush GetActiveSelectionForegroundBrush(UIElement element)

Attributes

Type Description
Category
AttachedPropertyBrowsableForType
AttachedPropertyBrowsableForType

Parameters

Name Type Description
element UIElement

Return Value

Type Description
Brush