Table of Contents

Class AnimatedResizeStackPanel

Namespace
Acuit.Pinpoint.Windows.Controls
Assembly
Acuit.Pinpoint.Windows.dll

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

DependencyProperty

AnimatedDesiredWidthProperty

Identifies the AnimatedDesiredWidth dependency property.

public static readonly DependencyProperty AnimatedDesiredWidthProperty

Field Value

DependencyProperty

DurationProperty

Identifies the Duration dependency property.

public static readonly DependencyProperty DurationProperty

Field Value

DependencyProperty

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

double

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

double

Duration

Gets or sets the duration of the animation used when the size changes.

public Duration Duration { get; set; }

Property Value

Duration

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)

Parameters

constraint Size

An upper limit Size that should not be exceeded.

Returns

Size

The Size that represents the desired size of the element.