XamlValueConverter<TConverterBase> Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
- 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
- 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