Class BoolToVisiblityConverter
Inheritance
System.Object
BoolToVisiblityConverter
Implements
System.Windows.Data.IValueConverter
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class BoolToVisiblityConverter : Object, IValueConverter
Constructors
BoolToVisiblityConverter()
Declaration
public BoolToVisiblityConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts the bool value to Visiblity
Declaration
public object Convert(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 |
ConvertBack(Object, Type, Object, CultureInfo)
Converts the visibity value to bool
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