IfElseConverter Class

Definition

Converter from a boolean value to one of the two provided values of any type. Analogous to ternary ?: operator in C#.

C++
public ref class IfElseConverter : System::Windows::Data::IValueConverter
Inheritance
IfElseConverter
Implements

Constructors

IfElseConverter()

Microsoft internal use only.

Properties

FalseValue

Microsoft internal use only.

TrueValue

Microsoft internal use only.

Methods

Convert(Object, Type, Object, CultureInfo)

Convert a boolean value to either TrueValue or FalseValue.

ConvertBack(Object, Type, Object, CultureInfo)

Microsoft internal use only.

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022