Class StrokeThicknessToMarginConverter
Class to set the margin value to stroke thickness
Inheritance
System.Object
StrokeThicknessToMarginConverter
Implements
System.Windows.Data.IValueConverter
Namespace: Syncfusion.Windows.Controls.Navigation
Assembly: Syncfusion.SfRadialMenu.Wpf.dll
Syntax
public class StrokeThicknessToMarginConverter : Object, IValueConverter
Constructors
StrokeThicknessToMarginConverter()
Declaration
public StrokeThicknessToMarginConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts value into new thickness
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | value from the source |
System.Type | targetType | target type of the value |
System.Object | parameter | parameter passed from source |
System.Globalization.CultureInfo | language | culture of the string |
Returns
Type | Description |
---|---|
System.Object | returns the converted value |
ConvertBack(Object, Type, Object, CultureInfo)
Converts the size back to its corresponding values.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | value from the source |
System.Type | targetType | target type of the value |
System.Object | parameter | parameter passed from source |
System.Globalization.CultureInfo | language | culture of the string |
Returns
Type | Description |
---|---|
System.Object | returns the converted value |
Implements
System.Windows.Data.IValueConverter