Class BaseAnimationConverter
Represents an System.Windows.Data.IValueConverter that is used in Telerik.Windows.Controls.Charting.BaseAnimationConverter.ChartItems' animations. This converter serves as a base class for generation of animations delays to achieve effects like "sequential" animations of the items, i.e. each item to begin animating after the previous one's animation has begun or finished.
For more information see DelayConverter and DurationConverter.
Inheritance
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public abstract class BaseAnimationConverter : Object, IValueConverter
Constructors
BaseAnimationConverter()
Declaration
protected BaseAnimationConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Generates the delay that is to be applied for the provided item's animation.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
Item whose animations' delay is required. |
System.Type
targetType
The type of the binding target property. |
System.Object
parameter
The delay that is to be applied for the second item. |
System.Globalization.CultureInfo
culture
The culture to use in the converter. |
Returns
System.Object
A converted value. If the method returns null, the valid null value is used. |
ConvertBack(Object, Type, Object, CultureInfo)
This method is not implemented as inverse conversion is not needed.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
The value that is produced by the binding target. |
System.Type
targetType
The type to convert to. |
System.Object
parameter
The converter parameter to use. |
System.Globalization.CultureInfo
culture
The culture to use in the converter. |
Returns
System.Object
A converted value. If the method returns null, the valid null value is used. |