Class BooleanToVisibilityConverter
Convertor class for converting Boolean value to Visibility property value
Inheritance
System.Object
BooleanToVisibilityConverter
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.Gauge
Assembly: Syncfusion.Gauge.WPF.dll
Syntax
public class BooleanToVisibilityConverter : IValueConverter
Constructors
BooleanToVisibilityConverter()
Declaration
public BooleanToVisibilityConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Method for performing the conversion
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | converts this value object into bool type |
System.Type | targetType | passing target type |
System.Object | parameter | passing parameter object |
System.Globalization.CultureInfo | culture | passing culture CultureInfo |
Returns
Type | Description |
---|---|
System.Object | Type : Visibility |
ConvertBack(Object, Type, Object, CultureInfo)
Method for performing the conversion in the reverse direction
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | passing value object |
System.Type | targetType | passing target type |
System.Object | parameter | passing parameter object |
System.Globalization.CultureInfo | culture | passing culture CultureInfo |
Returns
Type | Description |
---|---|
System.Object | Type : throw |
Implements
System.Windows.Data.IValueConverter