XamlValueConverter<TConverterBase> コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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)
パラメーター
- targetType
- XamlType
適用対象
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)
パラメーター
- targetType
- XamlType
- name
- String
文字列名。
例外
3 つのパラメーターはすべて null されます (少なくとも 1 つは null 以外である必要があります)。
注釈
nameがnullとして指定されている場合は、converterTypeまたはtargetTypeに基づいて既定の名前が生成されます。