Class InverseBoolConverter
Converter to reverse the boolean value. (i.e. if the value is true, it returns false).
Inheritance
System.Object
InverseBoolConverter
Implements
Xamarin.Forms.IValueConverter
Namespace: Syncfusion.ListView.XForms.Helpers
Assembly: Syncfusion.SfListView.XForms.dll
Syntax
public class InverseBoolConverter : Object, IValueConverter
Constructors
InverseBoolConverter()
Declaration
public InverseBoolConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Convert either true or false.
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 TargetType. |
System.Object | parameter | The converter parameter. |
System.Globalization.CultureInfo | culture | The culture info. |
Returns
Type | Description |
---|---|
System.Object | Returns the boolean value based on the CultureInfo. |
ConvertBack(Object, Type, Object, CultureInfo)
Convert either true or false.
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 TargetType. |
System.Object | parameter | The converter parameter. |
System.Globalization.CultureInfo | culture | The culture info. |
Returns
Type | Description |
---|---|
System.Object | Returns the boolean value. |
Implements
Xamarin.Forms.IValueConverter