Upraviť

Zdieľať cez


VisualTreeChangeEventArgs Class

Definition

Provides data for the VisualTreeChanged event.

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

Remarks

This type supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Constructors

VisualTreeChangeEventArgs(DependencyObject, DependencyObject, Int32, VisualTreeChangeType)

Initializes a new instance of the VisualTreeChangeEventArgs class.

Properties

ChangeType

Gets a value that indicates whether the Child element was added to another element (Parent) or removed.

Child

Gets the DependencyObject that was added to or removed from another element (Parent).

ChildIndex

Gets the index in the Parent element's children where the Child element is located when the add or remove operation is complete. On a removal, this value will always be -1.

Parent

Gets the DependencyObject to which an element (Child) was either added or removed.

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