Class DoubleToThicknessConverter
Represents a convertor that converts Double to thickness
Inheritance
System.Object
DoubleToThicknessConverter
Implements
Windows.UI.Xaml.Data.IValueConverter
Namespace: Syncfusion.UI.Xaml.Converters
Assembly: Syncfusion.SfShared.UWP.dll
Syntax
[ClassReference(IsReviewed = false, ShouldInclude = false)]
public class DoubleToThicknessConverter : Object, IValueConverter
Constructors
DoubleToThicknessConverter()
Declaration
public DoubleToThicknessConverter()
Methods
Convert(Object, Type, Object, String)
Converts Double to thickness
Declaration
public object Convert(object value, Type targetType, object parameter, string language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | input value |
System.Type | targetType | target type |
System.Object | parameter | input parameter |
System.String | language | input language |
Returns
Type | Description |
---|---|
System.Object | converted value as object |
ConvertBack(Object, Type, Object, String)
Converts back into default type
Declaration
public object ConvertBack(object value, Type targetType, object parameter, string language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | input value |
System.Type | targetType | target type |
System.Object | parameter | input parameter |
System.String | language | input language |
Returns
Type | Description |
---|---|
System.Object | converted value as object |
Implements
Windows.UI.Xaml.Data.IValueConverter