Summary
Gets the background brush which will be used for a selected item.
- Namespace
- MahApps
.Metro .Controls - Containing Type
- ItemHelper
Syntax
[Category(AppName.MahApps)]
[AttachedPropertyBrowsableForType(typeof(ListBoxItem))]
[AttachedPropertyBrowsableForType(typeof(TreeViewItem))]
public static Brush GetSelectedBackgroundBrush(UIElement element)
Attributes
Type | Description |
---|---|
Category | |
Attached |
|
Attached |
Parameters
Name | Type | Description |
---|---|---|
element | UIElement |
Return Value
Type | Description |
---|---|
Brush |