Class MultiBooleanToVisibilityConverterExtension
Converts a few boolean values to a Visibility value depending on the boolean operation
Inheritance
System.Object
System.Windows.Markup.MarkupExtension
MultiBooleanToVisibilityConverterExtension
Implements
System.Windows.Data.IMultiValueConverter
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: 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 |
---|---|
System.Boolean |
Inverse
Indicates whether th result should be inverse
Declaration
public bool Inverse { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
View SourceConvert(Object[], Type, Object, CultureInfo)
Declaration
public override object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object[] | values | |
System.Type | targetType | |
System.Object | parameter | |
System.Globalization.CultureInfo | culture |
Returns
Type | Description |
---|---|
System.Object |
Overrides
Implements
System.Windows.Data.IMultiValueConverter