Partager via


BooleanToHiddenVisibilityConverter Class

Converter from a boolean value to a Visibility constant. Unlike BooleanToVisibilityConverter, this converter maps false to Hidden instead of Collapsed.

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

Syntax

'Déclaration
Public Class BooleanToHiddenVisibilityConverter _
    Inherits ValueConverter(Of Boolean, Visibility)
'Utilisation
Dim instance As BooleanToHiddenVisibilityConverter
public class BooleanToHiddenVisibilityConverter : ValueConverter<bool, Visibility>
public ref class BooleanToHiddenVisibilityConverter : public ValueConverter<bool, Visibility>
type BooleanToHiddenVisibilityConverter =  
    class
        inherit ValueConverter<bool, Visibility>
    end
public class BooleanToHiddenVisibilityConverter extends ValueConverter<boolean, Visibility>

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.PlatformUI.ValueConverter<Boolean, Visibility>
    Microsoft.VisualStudio.PlatformUI.BooleanToHiddenVisibilityConverter

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

BooleanToHiddenVisibilityConverter Members

Microsoft.VisualStudio.PlatformUI Namespace