AnimatedExpander
The AnimatedExpander is a regular Expander that provides optional animated expansion functionality. The animation consists of crossfade and slide behavior.
The AnimatedExpander class has these important members:
| Member | Description |
|---|---|
|
CanMeasureCollapsedContent Property |
Gets or sets whether the expander will use the width measurement of collapsed content when calculating its own width. The default value is When |
|
CollapseDuration Property |
Gets or sets the |
|
|
Gets or sets the |
|
ExpandDuration Property |
Gets or sets the |
|
HeaderContextMenu Property |
Gets or sets the context menu used for the header. |
|
HeaderCornerRadius Property |
Gets or sets the corner radius used by the header. |
|
HeaderPadding Property |
Gets or sets the |
|
IsAutoCollapseOnBlurEnabled Property |
Gets or sets whether the expander will auto-collapse when focus leaves it. The default value is |
|
IsAutoExpandOnFocusEnabled Property |
Gets or sets whether the expander will auto-expand when focus enters it. The default value is |
|
IsAutoFocusOnExpandEnabled Property |
Gets or sets whether focus will attempt to be set in the content of the expander following the completion of the expansion animation. The default value is |
The AnimatedExpanderDecorator decorator is used in the template for the AnimatedExpander to provide the actual animation behavior.