Class
ExpandCollapseAnimation

Animation for Expand/Collapse behavior.

Definition

Namespace:Telerik.Core

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class ExpandCollapseAnimation : RadAnimation

Inheritance: objectRadAnimationExpandCollapseAnimation

Derived Classes: ExpanderExpandCollapseAnimation

Inherited Members RadAnimation.EmptyRadAnimation.Clone()RadAnimation.ApplyInitialValues(UIElement)RadAnimation.ClearAnimation(UIElement)RadAnimation.CreateOpposite()RadAnimation.ApplyAnimationValues(PlayAnimationInfo)RadAnimation.OnStarted(PlayAnimationInfo)RadAnimation.CreateStoryboardOverride(UIElement)RadAnimation.CloneCore()RadAnimation.CopyAnimationValues(PlayAnimationInfo)RadAnimation.OnEnded(PlayAnimationInfo)RadAnimation.OnEnded()RadAnimation.EasingRadAnimation.DurationRadAnimation.InitialDelayRadAnimation.AnimationNameRadAnimation.FillBehaviorRadAnimation.SpeedRatioRadAnimation.AutoReverseRadAnimation.RepeatBehaviorRadAnimation.AnimationOriginRadAnimation.Ended

Constructors

ExpandCollapseAnimation()

Initializes a new instance of the ExpandCollapseAnimation class.

Declaration

cs-api-definition
public ExpandCollapseAnimation()

Properties

Direction

Gets or sets a value indicating whether the direction of the animation.

Declaration

cs-api-definition
public AnimationDirection Direction { get; set; }

Property Value

AnimationDirection

Orientation

Gets or sets a value, describing the orientation of the animation.

Declaration

cs-api-definition
public Orientation Orientation { get; set; }

Property Value

Orientation

TargetElementName

Gets or sets the name of the element that should be animated.

Declaration

cs-api-definition
public string TargetElementName { get; set; }

Property Value

string

Methods

IsVertical(UIElement)

Indicates whether the animation is vertical.

Declaration

cs-api-definition
protected virtual bool IsVertical(UIElement control)

Parameters

control

UIElement

The target control.

Returns

bool

UpdateAnimationOverride(AnimationContext)

Updates the ExpanderAnimation.

Declaration

cs-api-definition
protected override void UpdateAnimationOverride(AnimationContext context)

Parameters

context

AnimationContext

Overrides RadAnimation.UpdateAnimationOverride(AnimationContext)