[]
Represents a Binding converter that converts a bool to the corresponding Visibility value. If ConverterParameter is not null, returns inverted value.
[ValueConversion(typeof(bool), typeof(Visibility))]
public class BooleanToVisibilityConverter : IValueConverter
Name | Description |
---|---|
BooleanToVisibilityConverter() | Initializes a new instance of the BooleanToVisibilityConverter. |
Name | Description |
---|---|
Default | Gets an instance of BooleanToVisibilityConverter. |
Name | Description |
---|---|
Convert(object, Type, object, CultureInfo) | Converts a value. The data binding engine calls this method when it propagates a value from the binding source to the binding target. |
ConvertBack(object, Type, object, CultureInfo) | Converts a value. The data binding engine calls this method when it propagates a value from the binding target to the binding source. |