XamlValueConverter<TConverterBase> Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Inizializza una nuova istanza della classe XamlValueConverter<TConverterBase>.
Overload
| Nome | Descrizione |
|---|---|
| XamlValueConverter<TConverterBase>(Type, XamlType) |
Inizializza una nuova istanza della XamlValueConverter<TConverterBase> classe in base a un convertitore che implementa Type e al tipo di destinazione/destinazione dell'oggetto XamlValueConverter<TConverterBase>. |
| XamlValueConverter<TConverterBase>(Type, XamlType, String) |
Inizializza una nuova istanza della XamlValueConverter<TConverterBase> classe, in base a un convertitore che implementa Type il tipo di destinazione/destinazione dell'oggetto XamlValueConverter<TConverterBase>e un nome stringa. |
XamlValueConverter<TConverterBase>(Type, XamlType)
Inizializza una nuova istanza della XamlValueConverter<TConverterBase> classe in base a un convertitore che implementa Type e al tipo di destinazione/destinazione dell'oggetto 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)
Parametri
- targetType
- XamlType
Destinazione/destinazione XamlType dell'oggetto XamlValueConverter<TConverterBase>.
Si applica a
XamlValueConverter<TConverterBase>(Type, XamlType, String)
Inizializza una nuova istanza della XamlValueConverter<TConverterBase> classe, in base a un convertitore che implementa Type il tipo di destinazione/destinazione dell'oggetto XamlValueConverter<TConverterBase>e un nome stringa.
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)
Parametri
- targetType
- XamlType
Destinazione/destinazione XamlType dell'oggetto XamlValueConverter<TConverterBase>.
- name
- String
Nome stringa.
Eccezioni
Tutti e tre i parametri sono null (almeno uno deve essere diverso da null).
Commenti
Se name viene specificato come null, viene generato un nome predefinito basato su converterType o targetType.