Class BooleanToVisibilityConverter
Represents the converter that converts Boolean values to and from visibility enumeration values
Inheritance
System.Object
BooleanToVisibilityConverter
Implements
Windows.UI.Xaml.Data.IValueConverter
Namespace: Syncfusion.UI.Xaml.PullToRefresh
Assembly: Syncfusion.SfPullToRefresh.UWP.dll
Syntax
public class BooleanToVisibilityConverter : Object, IValueConverter
Constructors
BooleanToVisibilityConverter()
Declaration
public BooleanToVisibilityConverter()
Methods
Convert(Object, Type, Object, String)
Converts bool variable to visibility
Declaration
public object Convert(object value, Type targetType, object parameter, string language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | |
System.Type | targetType | |
System.Object | parameter | |
System.String | language |
Returns
Type |
---|
System.Object |
ConvertBack(Object, Type, Object, String)
Converts back into default type
Declaration
public object ConvertBack(object value, Type targetType, object parameter, string language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | |
System.Type | targetType | |
System.Object | parameter | |
System.String | language |
Returns
Type |
---|
System.Object |
Implements
Windows.UI.Xaml.Data.IValueConverter