Represents double to string percent converter.
Definition
Namespace:Telerik.Windows.Documents.Converters
Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll
Syntax:
public class DoubleToStringPercentConverter : IValueConverter
Inheritance: objectDoubleToStringPercentConverter
Implements:
Constructors
public DoubleToStringPercentConverter()
Methods
Modifies the source data before passing it to the target for display in the UI.
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
The source data being passed to the target.
targetTypeTypeThe Type of data expected by the target dependency property.
parameterobjectAn optional parameter to be used in the converter logic.
cultureCultureInfoThe culture of the conversion.
Returns:The value to be passed to the target dependency property.
Modifies the target data before passing it to the source object. This method is called only in bindings.
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
The target data being passed to the source.
targetTypeTypeThe Type of data expected by the source object.
parameterobjectAn optional parameter to be used in the converter logic.
cultureCultureInfoThe culture of the conversion.
Returns:The value to be passed to the source object.