ReceiveMarkupExtension Method
Collapse the table of content
Expand the table of content

Setter::ReceiveMarkupExtension Method (Object^, XamlSetMarkupExtensionEventArgs^)

.NET Framework (current version)
 

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:
© 2016 Microsoft