ItemHelper.

SetMouseLeftButtonPressedForegroundBrush(UIElement, Brush) Method

Summary

Sets the foreground brush which will be used when an item is pressed by the left mouse button.
Namespace
MahApps.Metro.Controls
Containing Type
ItemHelper

Syntax

[Category(AppName.MahApps)]
[AttachedPropertyBrowsableForType(typeof(ListBoxItem))]
[AttachedPropertyBrowsableForType(typeof(TreeViewItem))]
public static void SetMouseLeftButtonPressedForegroundBrush(UIElement element, Brush value)

Attributes

Type Description
Category
AttachedPropertyBrowsableForType
AttachedPropertyBrowsableForType

Parameters

Name Type Description
element UIElement
value Brush

Return Value

Type Description
void