Class BooleanToVisibilityConverter
Represents the Boolean to visibility converter in map.
Inheritance
System.Object
BooleanToVisibilityConverter
Implements
System.Windows.Data.IValueConverter
Namespace: Syncfusion.UI.Xaml.Maps
Assembly: Syncfusion.SfMaps.WPF.dll
Syntax
public class BooleanToVisibilityConverter : Object, IValueConverter
Remarks
Convert the given Boolean converter parameter as visibility
Constructors
BooleanToVisibilityConverter()
Declaration
public BooleanToVisibilityConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Convert function,which converts the given Boolean parameter as visibility.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Value which is bonded |
System.Type | targetType | Target type of the binding |
System.Object | parameter | Converter Parameter |
System.Globalization.CultureInfo | language | Language |
Returns
Type | Description |
---|---|
System.Object | Type :System.Object |
ConvertBack(Object, Type, Object, CultureInfo)
Convert back function,which converts the given Boolean parameter as visibility.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Value which is binded |
System.Type | targetType | Target type of the binding |
System.Object | parameter | Converter Parameter |
System.Globalization.CultureInfo | language | Language |
Returns
Type | Description |
---|---|
System.Object | Type :System.Object |
Implements
System.Windows.Data.IValueConverter