ExpanderHelper.

GetExpandStoryboard(UIElement) Method

Summary

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

Syntax

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

Attributes

Type Description
Category
AttachedPropertyBrowsableForType

Parameters

Name Type Description
element UIElement UIElement to read ExpandStoryboardProperty from.

Return Value

Type Description
Storyboard ExpandStoryboard property value.