Langue

XamlValueConverter<TConverterBase> Constructeurs

Définition

Initialise une nouvelle instance de la classe XamlValueConverter<TConverterBase>.

Surcharges

Nom Description
XamlValueConverter<TConverterBase>(Type, XamlType)

Initialise une nouvelle instance de la XamlValueConverter<TConverterBase> classe, en fonction d’un convertisseur implémentant Type et du type cible/destination du XamlValueConverter<TConverterBase>.

XamlValueConverter<TConverterBase>(Type, XamlType, String)

Initialise une nouvelle instance de la XamlValueConverter<TConverterBase> classe, en fonction d’un convertisseur implémentant Type le type cible/destination du , et d’un nom de XamlValueConverter<TConverterBase>chaîne.

XamlValueConverter<TConverterBase>(Type, XamlType)

Initialise une nouvelle instance de la XamlValueConverter<TConverterBase> classe, en fonction d’un convertisseur implémentant Type et du type cible/destination du 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)

Paramètres

converterType
Type

Qui Type implémente le comportement du convertisseur.

targetType
XamlType

Cible/destination XamlType du XamlValueConverter<TConverterBase>.

S’applique à

XamlValueConverter<TConverterBase>(Type, XamlType, String)

Initialise une nouvelle instance de la XamlValueConverter<TConverterBase> classe, en fonction d’un convertisseur implémentant Type le type cible/destination du , et d’un nom de XamlValueConverter<TConverterBase>chaîne.

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)

Paramètres

converterType
Type

Qui Type implémente le comportement du convertisseur.

targetType
XamlType

Cible/destination XamlType du XamlValueConverter<TConverterBase>.

name
String

Nom de la chaîne.

Exceptions

Les trois paramètres sont null (au moins un est requis pour être non null).

Remarques

S’il name est fourni en tant que null, un nom par défaut est généré en fonction de l’une ou l’autre converterType .targetType

S’applique à