ItemHelper Class

Namespace
MahApps.Metro.Controls
Base Types
  • object
graph BT Type-->Base0["object"] Type["ItemHelper"] class Type type-node

Syntax

public static class ItemHelper

Fields

Name Constant Value Summary
ActiveSelectionBackgroundBrushProperty
Gets or sets the background brush which will be used for the active selected item (if the keyboard focus is within).
static
ActiveSelectionForegroundBrushProperty
Gets or sets the foreground brush which will be used for the active selected item (if the keyboard focus is within).
static
DisabledBackgroundBrushProperty
Gets or sets the background brush which will be used for disabled items.
static
DisabledForegroundBrushProperty
Gets or sets the foreground brush which will be used for disabled items.
static
DisabledSelectedBackgroundBrushProperty
Gets or sets the background brush which will be used for selected disabled items.
static
DisabledSelectedForegroundBrushProperty
Gets or sets the foreground brush which will be used for selected disabled items.
static
HoverBackgroundBrushProperty
Gets or sets the background brush which will be used for an mouse hovered item.
static
HoverSelectedBackgroundBrushProperty
Gets or sets the background brush which will be used for an mouse hovered and selected item.
static
SelectedBackgroundBrushProperty
Gets or sets the background brush which will be used for a selected item.
static
SelectedForegroundBrushProperty
Gets or sets the foreground brush which will be used for a selected item.
static

Methods

Name Value Summary
GetActiveSelectionBackgroundBrush(UIElement) Brush
Gets the brush the background brush which will be used for the active selected item (if the keyboard focus is within).
static
GetActiveSelectionForegroundBrush(UIElement) Brush
Gets the brush the foreground brush which will be used for the active selected item (if the keyboard focus is within).
static
GetDisabledBackgroundBrush(UIElement) Brush
Gets the background brush which will be used for disabled items.
static
GetDisabledForegroundBrush(UIElement) Brush
Gets the foreground brush which will be used for disabled items.
static
GetDisabledSelectedBackgroundBrush(UIElement) Brush
Gets the background brush which will be used for selected disabled items.
static
GetDisabledSelectedForegroundBrush(UIElement) Brush
Gets the foreground brush which will be used for selected disabled items.
static
GetHoverBackgroundBrush(UIElement) Brush
Gets the background brush which will be used for an mouse hovered item.
static
GetHoverSelectedBackgroundBrush(UIElement) Brush
Gets the background brush which will be used for an mouse hovered and selected item.
static
GetSelectedBackgroundBrush(UIElement) Brush
Gets the background brush which will be used for a selected item.
static
GetSelectedForegroundBrush(UIElement) Brush
Gets the foreground brush which will be used for a selected item.
static
SetActiveSelectionBackgroundBrush(UIElement, Brush) void
Sets the brush the background brush which will be used for the active selected item (if the keyboard focus is within).
static
SetActiveSelectionForegroundBrush(UIElement, Brush) void
Sets the brush the foreground brush which will be used for the active selected item (if the keyboard focus is within).
static
SetDisabledBackgroundBrush(UIElement, Brush) void
Sets the background brush which will be used for disabled items.
static
SetDisabledForegroundBrush(UIElement, Brush) void
Sets the foreground brush which will be used for disabled items.
static
SetDisabledSelectedBackgroundBrush(UIElement, Brush) void
Sets the background brush which will be used for selected disabled items.
static
SetDisabledSelectedForegroundBrush(UIElement, Brush) void
Sets the foreground brush which will be used for selected disabled items.
static
SetHoverBackgroundBrush(UIElement, Brush) void
Sets the background brush which will be used for an mouse hovered item.
static
SetHoverSelectedBackgroundBrush(UIElement, Brush) void
Sets the background brush which will be used for an mouse hovered and selected item.
static
SetSelectedBackgroundBrush(UIElement, Brush) void
Sets the background brush which will be used for a selected item.
static
SetSelectedForegroundBrush(UIElement, Brush) void
Sets the foreground brush which will be used for a selected item.
static