ExpanderHelper.

GetCollapseStoryboard(UIElement) Method

Summary

Helper for getting CollapseStoryboardProperty from element. If the Storyboard is set, the collapsed event applies this to the inner grid.
Namespace
MahApps.Metro.Controls
Containing Type
ExpanderHelper

Syntax

[Category(AppName.MahApps)]
[AttachedPropertyBrowsableForType(typeof(Expander))]
public static Storyboard GetCollapseStoryboard(UIElement element)

Attributes

Type Description
Category
AttachedPropertyBrowsableForType

Parameters

Name Type Description
element UIElement UIElement to read CollapseStoryboardProperty from.

Return Value

Type Description
Storyboard CollapseStoryboard property value.