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
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public class BooleanToVisibilityConverterEx : 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