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
HoverForegroundBrushProperty
Gets or sets the foreground 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
HoverSelectedForegroundBrushProperty
Gets or sets the foreground brush which will be used for an mouse hovered and selected item.
static
IsMouseLeftButtonPressedProperty
static
IsMouseRightButtonPressedProperty
static
MouseLeftButtonPressedBackgroundBrushProperty
Gets or sets the background brush which will be used when an item is pressed by the left mouse button.
static
MouseLeftButtonPressedForegroundBrushProperty
Gets or sets the foreground brush which will be used when an item is pressed by the left mouse button.
static
MouseRightButtonPressedBackgroundBrushProperty
Gets or sets the background brush which will be used when an item is pressed by the right mouse button.
static
MouseRightButtonPressedForegroundBrushProperty
Gets or sets the foreground brush which will be used when an item is pressed by the right mouse button.
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
GetHoverForegroundBrush(UIElement) Brush
Gets the foreground 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
GetHoverSelectedForegroundBrush(UIElement) Brush
Gets the foreground brush which will be used for an mouse hovered and selected item.
static
GetIsMouseLeftButtonPressed(UIElement) bool
static
GetIsMouseRightButtonPressed(UIElement) bool
static
GetMouseLeftButtonPressedBackgroundBrush(UIElement) Brush
Gets the background brush which will be used when an item is pressed by the left mouse button.
static
GetMouseLeftButtonPressedForegroundBrush(UIElement) Brush
Gets the foreground brush which will be used when an item is pressed by the left mouse button.
static
GetMouseRightButtonPressedBackgroundBrush(UIElement) Brush
Gets the background brush which will be used when an item is pressed by the right mouse button.
static
GetMouseRightButtonPressedForegroundBrush(UIElement) Brush
Gets the foreground brush which will be used when an item is pressed by the right mouse button.
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
SetHoverForegroundBrush(UIElement, Brush) void
Sets the foreground 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
SetHoverSelectedForegroundBrush(UIElement, Brush) void
Sets the foreground brush which will be used for an mouse hovered and selected item.
static
SetMouseLeftButtonPressedBackgroundBrush(UIElement, Brush) void
Sets the background brush which will be used when an item is pressed by the left mouse button.
static
SetMouseLeftButtonPressedForegroundBrush(UIElement, Brush) void
Sets the foreground brush which will be used when an item is pressed by the left mouse button.
static
SetMouseRightButtonPressedBackgroundBrush(UIElement, Brush) void
Sets the background brush which will be used when an item is pressed by the right mouse button.
static
SetMouseRightButtonPressedForegroundBrush(UIElement, Brush) void
Sets the foreground brush which will be used when an item is pressed by the right mouse button.
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