ExpanderHelper.

SetCollapseStoryboard(UIElement, Storyboard) Method

Summary

Helper for setting CollapseStoryboardProperty on 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 void SetCollapseStoryboard(UIElement element, Storyboard value)

Attributes

Type Description
Category
AttachedPropertyBrowsableForType

Parameters

Name Type Description
element UIElement UIElement to set CollapseStoryboardProperty on.
value Storyboard CollapseStoryboard property value.

Return Value

Type Description
void