ClassPictureBoxPanelAnimationStartingEventArgs
Contains information about the animated object and the animation settings.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class PictureBoxPanelAnimationStartingEventArgs : EventArgs
Inheritance: objectEventArgsPictureBoxPanelAnimationStartingEventArgs
Inherited Members
Constructors
PictureBoxPanelAnimationStartingEventArgs(RadElement, AnimatedPropertySetting, bool)
Initializes a new instance of the PictureBoxPanelAnimationStartingEventArgs class.
Declaration
public PictureBoxPanelAnimationStartingEventArgs(RadElement animatedObject, AnimatedPropertySetting animation, bool isPanelShowing)
Parameters
animatedObject
The object that is about to be animated.
animation
The AnimatedPropertySetting that is responsible for the animation.
isPanelShowing
A value that indicates whether the panel is showing or hiding.
Properties
AnimatedObject
Gets the object that is about to be animated.
AnimatedProperty
Gets or sets the property that will be animated.
Declaration
public RadProperty AnimatedProperty { get; set; }
Property Value
Animation
Gets the AnimatedPropertySetting that is responsible for the animation.
Declaration
public AnimatedPropertySetting Animation { get; }
Property Value
AnimationFrames
Gets or sets the number of frames in which the animation will run.
AnimationInterval
Gets or sets the interval between animation frames.
Cancel
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.
EndValue
Gets or sets the end value for the animation.
IsPanelShowing
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.
StartValue
Gets or sets the start value for the animation.