Class BooleanToVisibilityConverterEx
This class makes relation between System.Boolean value and System.Windows.Visibility value. Pass true
as converter parameter to inverse the operation.
Inheritance
System.Object
BooleanToVisibilityConverterEx
Implements
System.Windows.Data.IValueConverter
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class BooleanToVisibilityConverterEx : Object, IValueConverter
Constructors
BooleanToVisibilityConverterEx()
Declaration
public BooleanToVisibilityConverterEx()
Methods
Convert(Object, Type, Object, CultureInfo)
This method converts System.Boolean value to System.Windows.Visibility.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Value for converting. |
System.Type | targetType | The type of the binding target property. |
System.Object | parameter | Parameter indicates inverting. |
System.Globalization.CultureInfo | culture | The culture to use in the converter. |
Returns
Type | Description |
---|---|
System.Object | Result converting. |
ConvertBack(Object, Type, Object, CultureInfo)
This method converts System.Windows.Visibility value to System.Boolean value.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Value for converting. |
System.Type | targetType | The type to convert to. |
System.Object | parameter | Parameter indicates inverting. |
System.Globalization.CultureInfo | culture | The culture to use in the converter. |
Returns
Type | Description |
---|---|
System.Object | Result converting. |
Implements
System.Windows.Data.IValueConverter