Class
PictureBoxPanelAnimationStartingEventArgs

Contains information about the animated object and the animation settings.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class PictureBoxPanelAnimationStartingEventArgs : EventArgs

Inheritance: objectEventArgsPictureBoxPanelAnimationStartingEventArgs

Inherited Members EventArgs.Empty

Constructors

PictureBoxPanelAnimationStartingEventArgs(RadElement, AnimatedPropertySetting, bool)

Initializes a new instance of the PictureBoxPanelAnimationStartingEventArgs class.

Declaration

cs-api-definition
public PictureBoxPanelAnimationStartingEventArgs(RadElement animatedObject, AnimatedPropertySetting animation, bool isPanelShowing)

Parameters

animatedObject

RadElement

The object that is about to be animated.

animation

AnimatedPropertySetting

The AnimatedPropertySetting that is responsible for the animation.

isPanelShowing

bool

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

Properties

AnimatedObject

Gets the object that is about to be animated.

Declaration

cs-api-definition
public RadElement AnimatedObject { get; }

Property Value

RadElement

AnimatedProperty

Gets or sets the property that will be animated.

Declaration

cs-api-definition
public RadProperty AnimatedProperty { get; set; }

Property Value

RadProperty

Animation

Gets the AnimatedPropertySetting that is responsible for the animation.

Declaration

cs-api-definition
public AnimatedPropertySetting Animation { get; }

Property Value

AnimatedPropertySetting

AnimationFrames

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

Declaration

cs-api-definition
public int AnimationFrames { get; set; }

Property Value

int

AnimationInterval

Gets or sets the interval between animation frames.

Declaration

cs-api-definition
public int AnimationInterval { get; set; }

Property Value

int

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

cs-api-definition
public bool Cancel { get; set; }

Property Value

bool

EndValue

Gets or sets the end value for the animation.

Declaration

cs-api-definition
public object EndValue { get; set; }

Property Value

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

cs-api-definition
public bool IsPanelShowing { get; }

Property Value

bool

StartValue

Gets or sets the start value for the animation.

Declaration

cs-api-definition
public object StartValue { get; set; }

Property Value

object