XamlValueConverter<TConverterBase> Construtores
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Inicializa uma nova instância da XamlValueConverter<TConverterBase> classe.
Sobrecargas
| Nome | Descrição |
|---|---|
| XamlValueConverter<TConverterBase>(Type, XamlType) |
Inicializa uma nova instância da XamlValueConverter<TConverterBase> classe, com base num conversor que implementa Type e no tipo de destino/destino do XamlValueConverter<TConverterBase>. |
| XamlValueConverter<TConverterBase>(Type, XamlType, String) |
Inicializa uma nova instância da XamlValueConverter<TConverterBase> classe, baseada num conversor que implementa Type o tipo de destino/destino do XamlValueConverter<TConverterBase>, e um nome de cadeia. |
XamlValueConverter<TConverterBase>(Type, XamlType)
Inicializa uma nova instância da XamlValueConverter<TConverterBase> classe, com base num conversor que implementa Type e no tipo de destino/destino do 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
- targetType
- XamlType
O alvo/destino XamlType do XamlValueConverter<TConverterBase>.
Aplica-se a
XamlValueConverter<TConverterBase>(Type, XamlType, String)
Inicializa uma nova instância da XamlValueConverter<TConverterBase> classe, baseada num conversor que implementa Type o tipo de destino/destino do XamlValueConverter<TConverterBase>, e um nome de cadeia.
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
- targetType
- XamlType
O alvo/destino XamlType do XamlValueConverter<TConverterBase>.
- name
- String
O nome da corda.
Exceções
Os três parâmetros são null (pelo menos um é necessário para não ser nulo).
Observações
Se name for fornecido como null, gera-se um nome por defeito com base em ou converterTypetargetType.