Rediger

Del via


XamlSetMarkupExtensionEventArgs Class

Definition

Provides data for callbacks that are invoked when a XAML object writer sets a value using a markup extension.

public ref class XamlSetMarkupExtensionEventArgs : System::Windows::Markup::XamlSetValueEventArgs
public class XamlSetMarkupExtensionEventArgs : System.Windows.Markup.XamlSetValueEventArgs
type XamlSetMarkupExtensionEventArgs = class
    inherit XamlSetValueEventArgs
Public Class XamlSetMarkupExtensionEventArgs
Inherits XamlSetValueEventArgs
Inheritance
XamlSetMarkupExtensionEventArgs

Remarks

Although a class might indicate with XamlSetMarkupExtensionAttribute that it handles all attempts to set a value through a markup extension, it might also use more than one markup extension to do so. Thus each set operation ultimately resolves to a separate markup extension implementation in the supporting code. The XamlSetMarkupExtensionEventArgs class reports the specifics of each attempted markup extension set operation so that the callback can branch accordingly for different MarkupExtension cases.

Constructors

XamlSetMarkupExtensionEventArgs(XamlMember, MarkupExtension, IServiceProvider)

Initializes a new instance of the XamlSetMarkupExtensionEventArgs class.

Properties

Handled

Gets or sets a value that determines whether a caller that is using the XamlSetValueEventArgs can use the values without having to call CallBase().

(Inherited from XamlSetValueEventArgs)
MarkupExtension

Gets the MarkupExtension reference that is relevant to this XamlSetMarkupExtensionEventArgs.

Member

Gets XAML type system and XAML schema information for the member being set.

(Inherited from XamlSetValueEventArgs)
ServiceProvider

Gets service provider information that was passed to the markup extension.

Value

Gets the value to provide for the member being set.

(Inherited from XamlSetValueEventArgs)

Methods

CallBase()

Provides a way to invoke a callback as defined on a base class of the current acting type.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also