Class BoolVisibilityConverter
Represents the converter to convert data type of boolean to visibility and vice versa.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.PivotClient
Assembly: Syncfusion.SfPivotClient.UWP.dll
Syntax
public class BoolVisibilityConverter : Object, IValueConverter
Constructors
BoolVisibilityConverter()
Declaration
public BoolVisibilityConverter()
Methods
Convert(Object, Type, Object, String)
Modifies the source data before passing it to the target for display in the UI.
Declaration
public object Convert(object value, Type targetType, object parameter, string culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The source data being passed to the target. |
System.Type | targetType | The type of the target property, as a type reference. |
System.Object | parameter | An optional parameter to be used in the converter logic. |
System.String | culture | The language of the conversion. |
Returns
Type | Description |
---|---|
System.Object | The boolean value or visibility value to be passed to the target dependency property. |
ConvertBack(Object, Type, Object, String)
Modifies the target data before passing it to the source object. This method is called only in TwoWay bindings.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, string culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The target data being passed to the source. |
System.Type | targetType | The type of the target property, as a type reference. |
System.Object | parameter | An optional parameter to be used in the converter logic. |
System.String | culture | The language of the conversion. |
Returns
Type | Description |
---|---|
System.Object | The boolean value or visibility value to be passed to the target dependency property. |