Class DockStateToThicknessConverter
Represents the DockStateToThicknessConverter that converts DockState to Thickness value
Inheritance
System.Object
DockStateToThicknessConverter
Implements
Windows.UI.Xaml.Data.IValueConverter
Namespace: Syncfusion.UI.Xaml.Controls.Layout
Assembly: Syncfusion.SfDockingManager.UWP.dll
Syntax
[ClassReference(IsReviewed = false)]
public class DockStateToThicknessConverter : Object, IValueConverter
Constructors
DockStateToThicknessConverter()
Declaration
public DockStateToThicknessConverter()
Methods
Convert(Object, Type, Object, String)
Converts DockState variable to Thickness
Declaration
public object Convert(object value, Type targetType, object parameter, string language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The value is DockState |
System.Type | targetType | The targetType is Thickness |
System.Object | parameter | Return thickness parameter |
System.String | language | The language is current culture |
Returns
Type | Description |
---|---|
System.Object | Returns thickness value |
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 | The default value of DockState |
System.Type | targetType | The targetType is Thickness |
System.Object | parameter | Return default thickness parameter |
System.String | language | The language current culture |
Returns
Type | Description |
---|---|
System.Object | Returns null |
Implements
Windows.UI.Xaml.Data.IValueConverter