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.