Redigera

Dela via


XamlObjectEventArgs Class

Definition

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.

public ref class XamlObjectEventArgs : EventArgs
public class XamlObjectEventArgs : EventArgs
type XamlObjectEventArgs = class
    inherit EventArgs
Public Class XamlObjectEventArgs
Inherits EventArgs
Inheritance
XamlObjectEventArgs

Remarks

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.

Constructors

XamlObjectEventArgs(Object)

Initializes a new instance of the XamlObjectEventArgs class.

Properties

ElementLineNumber

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

ElementLinePosition

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

Instance

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

SourceBamlUri

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

Methods

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