ExpanderHelper Class

Summary

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 Constant Value Summary
CollapseStoryboardProperty
The DependencyProperty for the Expander' CollapseStoryboard property. If the Storyboard is set, the collapsed event applies this to the inner grid.
static
ExpandStoryboardProperty
The DependencyProperty for the Expander' ExpandStoryboard property. If the Storyboard is set, the expanded event applies this to the inner grid.
static
HeaderDownStyleProperty
static
HeaderLeftStyleProperty
static
HeaderRightStyleProperty
static
HeaderUpStyleProperty
static

Methods

Name 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