Condividi tramite


ToBooleanValueConverter<TSource> Class

Definition

Use instead of ValueConverter when the target type is a bool. Provides a small performance benefit by using boxed boolean literals.

generic <typename TSource>
public ref class ToBooleanValueConverter : System::Windows::Data::IValueConverter
public class ToBooleanValueConverter<TSource> : System.Windows.Data.IValueConverter
type ToBooleanValueConverter<'Source> = class
    interface IValueConverter
Public Class ToBooleanValueConverter(Of TSource)
Implements IValueConverter

Type Parameters

TSource

Type to convert from

Inheritance
ToBooleanValueConverter<TSource>
Derived
Implements

Constructors

ToBooleanValueConverter<TSource>()

Microsoft internal use only.

Methods

Convert(Object, Type, Object, CultureInfo)

Microsoft internal use only.

Convert(TSource, Object, CultureInfo)

Microsoft internal use only.

ConvertBack(Boolean, Object, CultureInfo)

Microsoft internal use only.

ConvertBack(Object, Type, Object, CultureInfo)

Microsoft internal use only.

Applies to