편집

다음을 통해 공유


Setter.ReceiveMarkupExtension(Object, XamlSetMarkupExtensionEventArgs) Method

Definition

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

Applies to

See also