Class PercentageConverter
Converts double to percent and vice versa.
Inheritance
System.Object
PercentageConverter
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Controls.Diagrams.Ribbon
Assembly: Telerik.Windows.Controls.Diagrams.Ribbon.dll
Syntax
public class PercentageConverter : IValueConverter
Constructors
PercentageConverter()
Declaration
public PercentageConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts double to percent.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
|
System.Type
targetType
|
System.Object
parameter
|
System.Globalization.CultureInfo
culture
|
Returns
System.Object
|
ConvertBack(Object, Type, Object, CultureInfo)
Converts percent to double.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
|
System.Type
targetType
|
System.Object
parameter
|
System.Globalization.CultureInfo
culture
|
Returns
System.Object
|