Language

XamlValueConverter<TConverterBase> コンストラクター

定義

XamlValueConverter<TConverterBase> クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
XamlValueConverter<TConverterBase>(Type, XamlType)

XamlValueConverter<TConverterBase>を実装するコンバーターと、Typeのターゲット/変換先の型に基づいて、XamlValueConverter<TConverterBase> クラスの新しいインスタンスを初期化します。

XamlValueConverter<TConverterBase>(Type, XamlType, String)

XamlValueConverter<TConverterBase>のターゲット/ターゲット型と文字列名Type実装するコンバーターに基づいて、XamlValueConverter<TConverterBase> クラスの新しいインスタンスを初期化します。

XamlValueConverter<TConverterBase>(Type, XamlType)

XamlValueConverter<TConverterBase>を実装するコンバーターと、Typeのターゲット/変換先の型に基づいて、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)

パラメーター

converterType
Type

コンバーターの動作を実装する Type 。

targetType
XamlType

XamlTypeのターゲット/宛先XamlValueConverter<TConverterBase>。

適用対象

XamlValueConverter<TConverterBase>(Type, XamlType, String)

XamlValueConverter<TConverterBase>のターゲット/ターゲット型と文字列名Type実装するコンバーターに基づいて、XamlValueConverter<TConverterBase> クラスの新しいインスタンスを初期化します。

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)

パラメーター

converterType
Type

コンバーターの動作を実装する Type 。

targetType
XamlType

XamlTypeのターゲット/宛先XamlValueConverter<TConverterBase>。

name
String

文字列名。

例外

3 つのパラメーターはすべて null されます (少なくとも 1 つは null 以外である必要があります)。

注釈

nameがnullとして指定されている場合は、converterTypeまたはtargetTypeに基づいて既定の名前が生成されます。

適用対象