This documentation is archived and is not being maintained.

Setter.ReceiveMarkupExtension Method

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


Type: System.Object
The object where the markup extension sets the value.
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

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.