IfElseConverter Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
public class IfElseConverter : System.Windows.Data.IValueConverter
type IfElseConverter = class
interface IValueConverter
Public Class IfElseConverter
Implements IValueConverter
- Inheritance
-
IfElseConverter
- Implements
If |
Microsoft internal use only. |
False |
Microsoft internal use only. |
True |
Microsoft internal use only. |
Convert(Object, Type, Object, Culture |
Convert a boolean value to either TrueValue or FalseValue. |
Convert |
Microsoft internal use only. |
Product | Versions |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |