Class DoubleToCornerRadiusConverter
Represents the value converter between double and CornerRadius.
Inheritance
System.Object
DoubleToCornerRadiusConverter
Implements
System.Windows.Data.IValueConverter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.XForms.WPF.ComboBox
Assembly: Syncfusion.SfComboBox.XForms.WPF.dll
Syntax
public class DoubleToCornerRadiusConverter : IValueConverter
Constructors
DoubleToCornerRadiusConverter()
Declaration
public DoubleToCornerRadiusConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts the double value to CornerRadius
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | the value |
System.Type | targetType | the targetType |
System.Object | parameter | the parameter |
System.Globalization.CultureInfo | culture |
Returns
Type |
---|
System.Object |
ConvertBack(Object, Type, Object, CultureInfo)
Converts the CornerRadius value to double
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | the value |
System.Type | targetType | the |
System.Object | parameter | the paramater |
System.Globalization.CultureInfo | culture |
Returns
Type |
---|
System.Object |
Implements
System.Windows.Data.IValueConverter