Class RadiusToWidthConverter
Conversion of radius to width
Inheritance
System.Object
RadiusToWidthConverter
Implements
System.Windows.Data.IValueConverter
Namespace: Syncfusion.Windows.Converters
Assembly: Syncfusion.SfShared.Wpf.dll
Syntax
[ClassReference(IsReviewed = false, ShouldInclude = false)]
public class RadiusToWidthConverter : Object, IValueConverter
Constructors
RadiusToWidthConverter()
Declaration
public RadiusToWidthConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts the Radius to width
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | input value |
System.Type | targetType | target type |
System.Object | parameter | input parameter |
System.Globalization.CultureInfo | language | input language |
Returns
Type | Description |
---|---|
System.Object | converted value as object |
ConvertBack(Object, Type, Object, CultureInfo)
Converts the width back into radius
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | input value |
System.Type | targetType | target type |
System.Object | parameter | input parameter |
System.Globalization.CultureInfo | language | input language |
Returns
Type | Description |
---|---|
System.Object | converted value as object |
Implements
System.Windows.Data.IValueConverter