Class BorderThicknessConverter
Represents the class converts the border thickness.
Inheritance
System.Object
BorderThicknessConverter
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.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class BorderThicknessConverter : IValueConverter
Constructors
BorderThicknessConverter()
Declaration
public BorderThicknessConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts a numeric thickness value into a System.Windows.Thickness object, adjusting based on system parameters for window resize borders.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | value | The input value representing thickness (expected to be a System.Double). |
| System.Type | targetType | The target type of the binding (typically System.Windows.Thickness). |
| System.Object | parameter | An optional parameter used to adjust the bottom thickness. |
| System.Globalization.CultureInfo | culture | The culture information for the conversion. |
Returns
| Type | Description |
|---|---|
| System.Object | A System.Windows.Thickness object with adjusted values. |
ConvertBack(Object, Type, Object, CultureInfo)
Not implemented. This converter does not support converting back from System.Windows.Thickness to System.Double.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | value | The value produced by the binding target. |
| System.Type | targetType | The type to convert to. |
| System.Object | parameter | An optional parameter. |
| System.Globalization.CultureInfo | culture | The culture information for the conversion. |
Returns
| Type | Description |
|---|---|
| System.Object | Always returns |
Implements
System.Windows.Data.IValueConverter