Udostępnij za pośrednictwem


IfElseConverter Class

Definition

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

public ref class IfElseConverter : System::Windows::Data::IValueConverter
public class IfElseConverter : System.Windows.Data.IValueConverter
type IfElseConverter = class
    interface IValueConverter
Public Class IfElseConverter
Implements 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