ReceiveMarkupExtension Method

DataTrigger.ReceiveMarkupExtension Method (Object, XamlSetMarkupExtensionEventArgs)

.NET Framework (current version)
 

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 ofDataTrigger with a markup extension. You do not typically call this method directly.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft