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
Initializes a new instance of the PictureBoxPanelAnimationStartingEventArgs class.
public PictureBoxPanelAnimationStartingEventArgs(RadElement animatedObject, AnimatedPropertySetting animation, bool isPanelShowing)
The object that is about to be animated.
animationAnimatedPropertySettingThe AnimatedPropertySetting that is responsible for the animation.
isPanelShowingboolA value that indicates whether the panel is showing or hiding.
Properties
Gets the object that is about to be animated.
public RadElement AnimatedObject { get; }
Gets or sets the property that will be animated.
public RadProperty AnimatedProperty { get; set; }
Gets the AnimatedPropertySetting that is responsible for the animation.
public AnimatedPropertySetting Animation { get; }
Gets or sets the number of frames in which the animation will run.
public int AnimationFrames { get; set; }
Gets or sets the interval between animation frames.
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.
public bool Cancel { 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.
public bool IsPanelShowing { get; }
Gets or sets the start value for the animation.
public object StartValue { get; set; }