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