Class HeightToMarginConverter
HeightToMarginConverter is used to set the Height of the checkBoxFilterControl items based on the CheckBox's Actual height.
Inheritance
System.Object
HeightToMarginConverter
Implements
System.Windows.Data.IValueConverter
Namespace: Syncfusion.UI.Xaml.Spreadsheet
Assembly: Syncfusion.SfSpreadsheet.WPF.dll
Syntax
public class HeightToMarginConverter : Object, IValueConverter
Constructors
HeightToMarginConverter()
Declaration
public HeightToMarginConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Covert and set the margin to the SelectAll checkBox based on the checkBox ActualHeight.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Actual Height of the CheckBox |
System.Type | targetType | CheckBox |
System.Object | parameter | |
System.Globalization.CultureInfo | culture |
Returns
Type |
---|
System.Object |
ConvertBack(Object, Type, Object, CultureInfo)
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | |
System.Type | targetType | |
System.Object | parameter | |
System.Globalization.CultureInfo | culture |
Returns
Type |
---|
System.Object |
Implements
System.Windows.Data.IValueConverter