XamlValueConverter<TConverterBase> XamlValueConverter<TConverterBase> XamlValueConverter<TConverterBase> XamlValueConverter<TConverterBase> Constructors

Definição

Sobrecargas

XamlValueConverter<TConverterBase>(Type, XamlType) XamlValueConverter<TConverterBase>(Type, XamlType) XamlValueConverter<TConverterBase>(Type, XamlType) XamlValueConverter<TConverterBase>(Type, XamlType)

Inicializa uma nova instância da classe XamlValueConverter<TConverterBase>, com base em um conversor que implementa Type e o tipo de destino do XamlValueConverter<TConverterBase>.Initializes a new instance of the XamlValueConverter<TConverterBase> class, based on a converter implementing Type and the target/destination type of the XamlValueConverter<TConverterBase>.

XamlValueConverter<TConverterBase>(Type, XamlType, String) XamlValueConverter<TConverterBase>(Type, XamlType, String) XamlValueConverter<TConverterBase>(Type, XamlType, String) XamlValueConverter<TConverterBase>(Type, XamlType, String)

Inicializa uma nova instância da classe XamlValueConverter<TConverterBase>, com base em um conversor que implementa Type, o tipo de destino do XamlValueConverter<TConverterBase> e um nome de cadeia de caracteres.Initializes a new instance of the XamlValueConverter<TConverterBase> class, based on a converter implementing Type the target/destination type of the XamlValueConverter<TConverterBase>, and a string name.

XamlValueConverter<TConverterBase>(Type, XamlType) XamlValueConverter<TConverterBase>(Type, XamlType) XamlValueConverter<TConverterBase>(Type, XamlType) XamlValueConverter<TConverterBase>(Type, XamlType)

Inicializa uma nova instância da classe XamlValueConverter<TConverterBase>, com base em um conversor que implementa Type e o tipo de destino do XamlValueConverter<TConverterBase>.Initializes a new instance of the XamlValueConverter<TConverterBase> class, based on a converter implementing Type and the target/destination type of the XamlValueConverter<TConverterBase>.

public:
 XamlValueConverter(Type ^ converterType, System::Xaml::XamlType ^ targetType);
public XamlValueConverter (Type converterType, System.Xaml.XamlType targetType);
new System.Xaml.Schema.XamlValueConverter<'ConverterBase (requires 'ConverterBase : null)> : Type * System.Xaml.XamlType -> System.Xaml.Schema.XamlValueConverter<'ConverterBase (requires 'ConverterBase : null)>
Public Sub New (converterType As Type, targetType As XamlType)

Parâmetros

converterType
Type Type Type Type

O Type que implementa o comportamento do conversor.The Type that implements the converter behavior.

XamlValueConverter<TConverterBase>(Type, XamlType, String) XamlValueConverter<TConverterBase>(Type, XamlType, String) XamlValueConverter<TConverterBase>(Type, XamlType, String) XamlValueConverter<TConverterBase>(Type, XamlType, String)

Inicializa uma nova instância da classe XamlValueConverter<TConverterBase>, com base em um conversor que implementa Type, o tipo de destino do XamlValueConverter<TConverterBase> e um nome de cadeia de caracteres.Initializes a new instance of the XamlValueConverter<TConverterBase> class, based on a converter implementing Type the target/destination type of the XamlValueConverter<TConverterBase>, and a string name.

public:
 XamlValueConverter(Type ^ converterType, System::Xaml::XamlType ^ targetType, System::String ^ name);
public XamlValueConverter (Type converterType, System.Xaml.XamlType targetType, string name);
new System.Xaml.Schema.XamlValueConverter<'ConverterBase (requires 'ConverterBase : null)> : Type * System.Xaml.XamlType * string -> System.Xaml.Schema.XamlValueConverter<'ConverterBase (requires 'ConverterBase : null)>
Public Sub New (converterType As Type, targetType As XamlType, name As String)

Parâmetros

converterType
Type Type Type Type

O Type que implementa o comportamento do conversor.The Type that implements the converter behavior.

name
String String String String

O nome da cadeia de caracteres.The string name.

Exceções

Todos os três parâmetros são null (pelo menos um deve ser não nulo).All three parameters are null (at least one is required to be non-null).

Comentários

Se name for fornecido como null, um nome padrão será gerado com base em converterType um targetTypeou.If name is provided as null, a default name is generated based on either converterType or targetType.

Aplica-se a