DataTrigger.ReceiveMarkupExtension Method

Definition

Handles cases where a markup extension provides a value for a property of a DataTrigger object.

public:
 static void ReceiveMarkupExtension(System::Object ^ targetObject, System::Windows::Markup::XamlSetMarkupExtensionEventArgs ^ eventArgs);
public static void ReceiveMarkupExtension (object targetObject, System.Windows.Markup.XamlSetMarkupExtensionEventArgs eventArgs);
static member ReceiveMarkupExtension : obj * System.Windows.Markup.XamlSetMarkupExtensionEventArgs -> unit
Public Shared Sub ReceiveMarkupExtension (targetObject As Object, eventArgs As XamlSetMarkupExtensionEventArgs)

Parameters

targetObject
Object

The object where the markup extension sets the value.

eventArgs
XamlSetMarkupExtensionEventArgs

Data that is relevant for markup extension processing.

Remarks

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.

Applies to

See also