Setter.ReceiveTypeConverter Method (Object, XamlSetTypeConverterEventArgs)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Handles cases where a type converter provides a value for a property of a Setter object.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static void ReceiveTypeConverter(
	object targetObject,
	XamlSetTypeConverterEventArgs eventArgs
)

Parameters

targetObject
Type: System.Object

The object where the type converter sets the value.

eventArgs
Type: System.Windows.Markup.XamlSetTypeConverterEventArgs

Data that is relevant for type converter processing.

This is the method referenced by an applied XamlSetTypeConverterAttribute attribute at the class level, which means that this method processes all attempts to set values of Setter with a type converter. You do not typically call this method directly.

.NET Framework
Available since 4.0
Return to top
Show: