ExpanderHelper Class
A helper class that provides various attached properties for the Expander control. Expander
Namespace
MahApps.Metro.Controls
Base Types
  • object
graph BT Type-->Base0["object"] Type["ExpanderHelper"] class Type type-node

Syntax

public static class ExpanderHelper

Fields

Name Field Type Constant Value Summary
CollapseStoryboardProperty DependencyProperty
The DependencyProperty for the Expander' CollapseStoryboard property. If the Storyboard is set, the collapsed event applies this to the inner grid.
static
ExpandStoryboardProperty DependencyProperty
The DependencyProperty for the Expander' ExpandStoryboard property. If the Storyboard is set, the expanded event applies this to the inner grid.
static
HeaderDownStyleProperty DependencyProperty
static
HeaderLeftStyleProperty DependencyProperty
static
HeaderRightStyleProperty DependencyProperty
static
HeaderUpStyleProperty DependencyProperty
static

Methods

Name Return Value Summary
GetCollapseStoryboard(UIElement) Storyboard
Helper for getting CollapseStoryboardProperty from element. If the Storyboard is set, the collapsed event applies this to the inner grid.
static
GetExpandStoryboard(UIElement) Storyboard
Helper for getting ExpandStoryboardProperty from element. If the Storyboard is set, the expanded event applies this to the inner grid.
static
GetHeaderDownStyle(UIElement) Style
Gets the toggle button style used for the ExpandDirection Down.
static
GetHeaderLeftStyle(UIElement) Style
Gets the toggle button style used for the ExpandDirection Left.
static
GetHeaderRightStyle(UIElement) Style
Gets the toggle button style used for the ExpandDirection Right.
static
GetHeaderUpStyle(UIElement) Style
Gets the toggle button style used for the ExpandDirection Up.
static
SetCollapseStoryboard(UIElement, Storyboard) void
Helper for setting CollapseStoryboardProperty on element. If the Storyboard is set, the collapsed event applies this to the inner grid.
static
SetExpandStoryboard(UIElement, Storyboard) void
Helper for setting ExpandStoryboardProperty on element. If the Storyboard is set, the expanded event applies this to the inner grid.
static
SetHeaderDownStyle(UIElement, Style) void
Sets the toggle button style used for the ExpandDirection Down.
static
SetHeaderLeftStyle(UIElement, Style) void
Sets the toggle button style used for the ExpandDirection Left.
static
SetHeaderRightStyle(UIElement, Style) void
Sets the toggle button style used for the ExpandDirection Right.
static
SetHeaderUpStyle(UIElement, Style) void
Sets the toggle button style used for the ExpandDirection Up.
static