Redigera

Dela via


XamlSetTypeConverterEventArgs Constructor

Definition

Initializes a new instance of the XamlSetTypeConverterEventArgs class.

public:
 XamlSetTypeConverterEventArgs(System::Xaml::XamlMember ^ member, System::ComponentModel::TypeConverter ^ typeConverter, System::Object ^ value, System::ComponentModel::ITypeDescriptorContext ^ serviceProvider, System::Globalization::CultureInfo ^ cultureInfo);
public XamlSetTypeConverterEventArgs (System.Xaml.XamlMember member, System.ComponentModel.TypeConverter typeConverter, object value, System.ComponentModel.ITypeDescriptorContext serviceProvider, System.Globalization.CultureInfo cultureInfo);
new System.Windows.Markup.XamlSetTypeConverterEventArgs : System.Xaml.XamlMember * System.ComponentModel.TypeConverter * obj * System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo -> System.Windows.Markup.XamlSetTypeConverterEventArgs
Public Sub New (member As XamlMember, typeConverter As TypeConverter, value As Object, serviceProvider As ITypeDescriptorContext, cultureInfo As CultureInfo)

Parameters

member
XamlMember

XAML type system / schema information for the member being set.

typeConverter
TypeConverter

The specific type converter instance being invoked.

value
Object

The value to provide for the member being set.

serviceProvider
ITypeDescriptorContext

Service provider information that can be used by the typeConverter class.

cultureInfo
CultureInfo

Culture information that can be used by the typeConverter class when calling ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) and other methods.

Applies to