IfElseConverter Class

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

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

声明
Public Class IfElseConverter _
    Implements IValueConverter
用法
Dim instance As IfElseConverter
public class IfElseConverter : IValueConverter
public ref class IfElseConverter : IValueConverter
type IfElseConverter =  
    class
        interface IValueConverter
    end
public class IfElseConverter implements IValueConverter

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.PlatformUI.IfElseConverter

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

IfElseConverter Members

Microsoft.VisualStudio.PlatformUI Namespace