Class BooleanToVisibilityConverter
Converts Boolean value to Visibility value and vice-versa.
Inheritance
System.Object
BooleanToVisibilityConverter
Implements
Windows.UI.Xaml.Data.IValueConverter
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.UWP.dll
Syntax
public class BooleanToVisibilityConverter : Object, IValueConverter
Constructors
BooleanToVisibilityConverter()
Declaration
public BooleanToVisibilityConverter()
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 language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | |
System.Type | targetType | |
System.Object | parameter | |
System.String | language |
Returns
Type | Description |
---|---|
System.Object | The 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.
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 | Description |
---|---|
System.Object | The value to be passed to the source object. |
Implements
Windows.UI.Xaml.Data.IValueConverter