Class MarginConverter
MarginConverter
Inheritance
System.Object
MarginConverter
Implements
System.Windows.Data.IValueConverter
Namespace: Syncfusion.UI.Xaml.Maps
Assembly: Syncfusion.SfMaps.WPF.dll
Syntax
public class MarginConverter : Object, IValueConverter
Constructors
MarginConverter()
Declaration
public MarginConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts the margin value.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The object value. |
System.Type | targetType | The target type. |
System.Object | parameter | The parameter value. |
System.Globalization.CultureInfo | culture | The culture value. |
Returns
Type | Description |
---|---|
System.Object | The margin value. |
ConvertBack(Object, Type, Object, CultureInfo)
Converts back the margin value.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The object value. |
System.Type | targetType | The target type. |
System.Object | parameter | The parameter value. |
System.Globalization.CultureInfo | culture | The culture value. |
Returns
Type | Description |
---|---|
System.Object | The margin value. |
Implements
System.Windows.Data.IValueConverter