Bewerken

Delen via


XamlSetTypeConverterEventArgs Class

Definition

Provides data for callbacks that are invoked when a XAML writer sets a value using a type converter call.

public ref class XamlSetTypeConverterEventArgs : System::Windows::Markup::XamlSetValueEventArgs
public class XamlSetTypeConverterEventArgs : System.Windows.Markup.XamlSetValueEventArgs
type XamlSetTypeConverterEventArgs = class
    inherit XamlSetValueEventArgs
Public Class XamlSetTypeConverterEventArgs
Inherits XamlSetValueEventArgs
Inheritance
XamlSetTypeConverterEventArgs

Remarks

Callbacks for type converter usages use the EventHandler<TEventArgs> delegate, with XamlSetTypeConverterEventArgs event data constraint.

Callbacks for type converter usages are referenced by XamlSetTypeConverterAttribute applied at the class level (for example on Setter class in WPF). A custom XamlTypeInvoker might also reference a callback through the SetTypeConverterHandler value.

Constructors

XamlSetTypeConverterEventArgs(XamlMember, TypeConverter, Object, ITypeDescriptorContext, CultureInfo)

Initializes a new instance of the XamlSetTypeConverterEventArgs class.

Properties

CultureInfo

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

Handled

Gets or sets a value that determines whether a caller that is using the XamlSetValueEventArgs can use the values without having to call CallBase().

(Inherited from XamlSetValueEventArgs)
Member

Gets XAML type system and XAML schema information for the member being set.

(Inherited from XamlSetValueEventArgs)
ServiceProvider

Gets IServiceProvider information that can be used by the type converter class.

TypeConverter

Gets the TypeConverter instance that is invoked and provides type conversion behavior.

Value

Gets the value to provide for the member being set.

(Inherited from XamlSetValueEventArgs)

Methods

CallBase()

Provides a way to invoke a callback as defined on a base class of the current acting type.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also