BooleanToCustomVisibilityConverter Class

Visual Studio 2015
 

Microsoft internal use only. Converter from a boolean value to a Visibility constant. This convert allows the actual Visibility values to be specified as properties.

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

System.Object
  Microsoft.VisualStudio.PlatformUI.ValueConverter<TSource, TTarget>
    Microsoft.VisualStudio.PlatformUI.BooleanToCustomVisibilityConverter

public class BooleanToCustomVisibilityConverter : ValueConverter<bool, Visibility>

NameDescription
System_CAPS_pubpropertyVisibilityIfFalse

Gets or sets the visibility state to evaluate to if the input value is false.

System_CAPS_pubpropertyVisibilityIfTrue

Gets or sets the visibility state to evaluate to if the input value is true.

NameDescription
System_CAPS_protmethodConvert(Boolean, Object, CultureInfo)

Converts a boolean value to a Visibility constant.(Overrides ValueConverter<TSource, TTarget>.Convert(TSource, Object, CultureInfo).)

System_CAPS_pubmethodConvert(Object, Type, Object, CultureInfo)

Microsoft internal use only.(Inherited from ValueConverter<TSource, TTarget>.)

System_CAPS_pubmethodConvertBack(Object, Type, Object, CultureInfo)

Microsoft internal use only.(Inherited from ValueConverter<TSource, TTarget>.)

System_CAPS_protmethodConvertBack(Visibility, Object, CultureInfo)

Converts a Visibility constant to a boolean value. This converter is invertible only if VisibilityIfTrue and VisibilityIfFalse map to different values (i.e. a one-to-one function). Similarly, multiplying by a scalar is not an invertible operation under certain conditions (if the scalar is zero).(Overrides ValueConverter<TSource, TTarget>.ConvertBack(TTarget, Object, CultureInfo).)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Return to top
Show: