DXExpander.CollapseStoryboard Property

Gets or sets the collapse animation storyboard. This is a dependency property.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v21.1.dll


public Storyboard CollapseStoryboard { get; set; }

Property Value

Type Description

A Storyboard object that represents the collapse animation storyboard.


Use the CollapseStoryboard property to implement a custom animation for the DXExpander. To specify the expand animation storyboard, use the DXExpander.ExpandStoryboard property. To learn more, see DXExpander.

The DXExpander provides a number of predefined animation styles. Use the DXExpander.HorizontalExpand and DXExpander.VerticalExpand properties to specify animation styles for the horizontal and vertical expanding/collapsing, respectively.

See Also