IfElseConverter Members

Include Protected Members
Include Inherited Members

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

The IfElseConverter type exposes the following members.

Constructors

  Name Description
Public method IfElseConverter

Top

Methods

  Name Description
Public method Convert Convert a boolean value to either TrueValue or FalseValue.
Public method ConvertBack
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property FalseValue
Public property TrueValue

Top

See Also

Reference

IfElseConverter Class

Microsoft.VisualStudio.PlatformUI Namespace