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

Contains diagram animations attached properties.

Definition

Namespace:Telerik.WinControls.UI.Diagrams

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public static class DiagramAnimations

Inheritance: objectDiagramAnimations

Fields

Identifies the AnimationDuration attached dependency property.

C#
public static readonly RadProperty AnimationDurationProperty

Identifies the IsPanAnimationEnabled attached dependency property.

C#
public static readonly RadProperty IsPanAnimationEnabledProperty

Identifies the IsZoomAnimationEnabled attached dependency property.

C#
public static readonly RadProperty IsZoomAnimationEnabledProperty

Methods

Gets animation duration in seconds.

C#
public static double GetAnimationDuration(RadObject obj)
Parameters:objRadObjectReturns:

double

Gets whether pan animations are enabled or not.

C#
public static bool GetIsPanAnimationEnabled(RadObject obj)
Parameters:objRadObjectReturns:

bool

Gets whether zoom animations are enabled or not.

C#
public static bool GetIsZoomAnimationEnabled(RadObject obj)
Parameters:objRadObjectReturns:

bool

Sets animation duration in seconds.

C#
public static void SetAnimationDuration(RadObject obj, double value)
Parameters:objRadObjectvaluedouble

Sets whether pan animations are enabled or not.

C#
public static void SetIsPanAnimationEnabled(RadObject obj, bool value)
Parameters:objRadObjectvaluebool

Sets whether zoom animations are enabled or not.

C#
public static void SetIsZoomAnimationEnabled(RadObject obj, bool value)
Parameters:objRadObjectvaluebool