Setter.ReceiveMarkupExtension Method (Object, XamlSetMarkupExtensionEventArgs)

.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 markup extension provides a value for a property of Setter object.

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

public static void ReceiveMarkupExtension(
	object targetObject,
	XamlSetMarkupExtensionEventArgs eventArgs
)

Parameters

targetObject
Type: System.Object

The object where the markup extension sets the value.

eventArgs
Type: System.Windows.Markup.XamlSetMarkupExtensionEventArgs

Data that is relevant for markup extension processing.

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

.NET Framework
Available since 4.0
Return to top
Show: