[]
        
(Showing Draft Content)

C1.WPF.Schedule.BooleanToVisibilityConverter

BooleanToVisibilityConverter Class

Represents a Binding converter that converts a bool to the corresponding Visibility value. If ConverterParameter is not null, returns inverted value.

Inheritance
BooleanToVisibilityConverter
Implements
Namespace: C1.WPF.Schedule
Assembly: C1.WPF.Schedule.4.6.2.dll
Syntax
[ValueConversion(typeof(bool), typeof(Visibility))]
public class BooleanToVisibilityConverter : IValueConverter

Constructors

Name Description
BooleanToVisibilityConverter()

Initializes a new instance of the BooleanToVisibilityConverter.

Fields

Name Description
Default

Gets an instance of BooleanToVisibilityConverter.

Methods

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.