Udostępnij za pośrednictwem


BooleanToHiddenVisibilityConverter Class

Definition

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

public ref class BooleanToHiddenVisibilityConverter : Microsoft::VisualStudio::PlatformUI::ValueConverter<bool, System::Windows::Visibility>
[Windows::Foundation::Metadata::WebHostHidden]
class BooleanToHiddenVisibilityConverter : Microsoft::VisualStudio::PlatformUI::ValueConverter<bool, System::Windows::Visibility>
public class BooleanToHiddenVisibilityConverter : Microsoft.VisualStudio.PlatformUI.ValueConverter<bool,System.Windows.Visibility>
type BooleanToHiddenVisibilityConverter = class
    inherit ValueConverter<bool, Visibility>
Public Class BooleanToHiddenVisibilityConverter
Inherits ValueConverter(Of Boolean, Visibility)
Inheritance
BooleanToHiddenVisibilityConverter

Constructors

BooleanToHiddenVisibilityConverter()

Microsoft internal use only.

Methods

Convert(Boolean, Object, CultureInfo)

Convert a boolean value to a Visibility constant.

Convert(Object, Type, Object, CultureInfo)

Microsoft internal use only.

(Inherited from ValueConverter<TSource,TTarget>)
Convert(TSource, Object, CultureInfo)

Microsoft internal use only.

(Inherited from ValueConverter<TSource,TTarget>)
ConvertBack(Object, Type, Object, CultureInfo)

Microsoft internal use only.

(Inherited from ValueConverter<TSource,TTarget>)
ConvertBack(TTarget, Object, CultureInfo)

Microsoft internal use only.

(Inherited from ValueConverter<TSource,TTarget>)

Applies to