Class AnimatedResizeStackPanel
A stack panel that smoothly animates changes in height (for vertical stack panels) or width (for horizontal stack panels).
public class AnimatedResizeStackPanel : StackPanel, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IScrollInfo
- Inheritance
-
AnimatedResizeStackPanel
- Implements
- Inherited Members
Fields
AnimatedDesiredHeightProperty
Identifies the AnimatedDesiredHeight dependency property.
public static readonly DependencyProperty AnimatedDesiredHeightProperty
Field Value
AnimatedDesiredWidthProperty
Identifies the AnimatedDesiredWidth dependency property.
public static readonly DependencyProperty AnimatedDesiredWidthProperty
Field Value
DurationProperty
Identifies the Duration dependency property.
public static readonly DependencyProperty DurationProperty
Field Value
Properties
AnimatedDesiredHeight
Gets or sets the animated desired height. This value gets animated when the desired height of a vertical stack panel changes.
public double AnimatedDesiredHeight { get; set; }
Property Value
AnimatedDesiredWidth
Gets or sets the animated desired width. This value gets animated when the desired width of a horizontal stack panel changes.
public double AnimatedDesiredWidth { get; set; }
Property Value
Duration
Gets or sets the duration of the animation used when the size changes.
public Duration Duration { get; set; }
Property Value
Methods
MeasureOverride(Size)
Measures the child elements of an AnimatedResizeStackPanel in anticipation of arranging them during the ArrangeOverride(Size) pass.
protected override Size MeasureOverride(Size constraint)