XamlObjectEventArgs Class
Collapse the table of content
Expand the table of content

XamlObjectEventArgs Class

.NET Framework (current version)
 

Provides data for callbacks that can be inserted in the sequence for object initialization and property setting. This influences the object graph that is produced by XamlObjectWriter.

Namespace:   System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

System.Object
  System.EventArgs
    System.Xaml.XamlObjectEventArgs

public class XamlObjectEventArgs : EventArgs

NameDescription
System_CAPS_pubmethodXamlObjectEventArgs(Object)

Initializes a new instance of the XamlObjectEventArgs class.

NameDescription
System_CAPS_pubpropertyElementLineNumber

Gets or sets the line number of the relevant object instance.

System_CAPS_pubpropertyElementLinePosition

Gets or sets the position in the line of the relevant object instance.

System_CAPS_pubpropertyInstance

Gets the object instance that is relevant to the event data.

System_CAPS_pubpropertySourceBamlUri

Gets or sets the BAML URI of the relevant object instance.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The applicable callbacks all use the generic EventHandler<TEventArgs> that carries XamlObjectEventArgs event data. You define the handlers and then set references to them by setting properties of XamlObjectWriterSettings.

.NET Framework
Available since 4.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft