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 | |
Attached |
Parameters
Name | Type | Description |
---|---|---|
element | UIElement | UIElement to read CollapseStoryboardProperty from. |
Return Value
Type | Description |
---|---|
Storyboard | CollapseStoryboard property value. |