Class BoolToVisibilityConverter
BoolToVisibilityConverter
Inheritance
System.Object
BoolToVisibilityConverter
Implements
System.Windows.Data.IValueConverter
Namespace: Syncfusion.UI.Xaml.TreeMap
Assembly: Syncfusion.SfTreeMap.WPF.dll
Syntax
public class BoolToVisibilityConverter : Object, IValueConverter
Constructors
BoolToVisibilityConverter()
Declaration
public BoolToVisibilityConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts Bool to Visibility.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The value. |
System.Type | targetType | The target type. |
System.Object | parameter | The parameter. |
System.Globalization.CultureInfo | culture | The culture. |
Returns
Type | Description |
---|---|
System.Object | The visibility. |
ConvertBack(Object, Type, Object, CultureInfo)
Converts Visibility to bool.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The value. |
System.Type | targetType | The target type. |
System.Object | parameter | The parameter. |
System.Globalization.CultureInfo | culture | The culture. |
Returns
Type | Description |
---|---|
System.Object | The bool. |
Implements
System.Windows.Data.IValueConverter