New to Telerik UI for WinFormsStart a free 30-day trial

Contains information about the animated object and the animation settings.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class PictureBoxPanelAnimationStartingEventArgs : EventArgs

Inheritance: objectEventArgsPictureBoxPanelAnimationStartingEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the PictureBoxPanelAnimationStartingEventArgs class.

C#
public PictureBoxPanelAnimationStartingEventArgs(RadElement animatedObject, AnimatedPropertySetting animation, bool isPanelShowing)
Parameters:animatedObjectRadElement

The object that is about to be animated.

animationAnimatedPropertySetting

The AnimatedPropertySetting that is responsible for the animation.

isPanelShowingbool

A value that indicates whether the panel is showing or hiding.

Properties

Gets the object that is about to be animated.

C#
public RadElement AnimatedObject { get; }

Gets or sets the property that will be animated.

C#
public RadProperty AnimatedProperty { get; set; }

Gets the AnimatedPropertySetting that is responsible for the animation.

C#
public AnimatedPropertySetting Animation { get; }

Gets or sets the number of frames in which the animation will run.

C#
public int AnimationFrames { get; set; }

Gets or sets the interval between animation frames.

C#
public int AnimationInterval { get; set; }

Gets or sets a value indicating whether to cancel the animation. Note that if you cancel the event, you still need to provide a valid AnimatedProperty and EndValue. They will be applied to the AnimatedObject.

C#
public bool Cancel { get; set; }

Gets or sets the end value for the animation.

C#
public object EndValue { get; set; }

Gets a value that indicates whether the panel is showing. If [true] the panel is about to be shown. If [false] the panel will be hidden.

C#
public bool IsPanelShowing { get; }

Gets or sets the start value for the animation.

C#
public object StartValue { get; set; }