Class MultiBooleanToVisibilityConverterExtension
Converts a few boolean values to a Visibility value depending on the boolean operation
Inheritance
MultiBooleanToVisibilityConverterExtension
Implements
Namespace: Sartorius.SAF.Presentation.Converter
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class MultiBooleanToVisibilityConverterExtension : BooleanMultiConverterExtension, IMultiValueConverter
Properties
View SourceCollapse
if True the False value will be Visibility.Collapsed
if False the False value will be Visibility.Hidden
Declaration
public bool Collapse { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Inverse
Indicates whether th result should be inverse
Declaration
public bool Inverse { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
View SourceConvert(object[], Type, object, CultureInfo)
Declaration
public override object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
Parameters
| Type | Name | Description |
|---|---|---|
| object[] | values | |
| Type | targetType | |
| object | parameter | |
| CultureInfo | culture |
Returns
| Type | Description |
|---|---|
| object |