Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataTrigger.ReceiveMarkupExtension Method

.NET Framework 4.6 and 4.5

Handles cases where a markup extension provides a value for a property of a DataTrigger 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 DataTrigger with a markup extension. You do not typically call this method directly.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft