VisualTreeChangeEventArgs VisualTreeChangeEventArgs VisualTreeChangeEventArgs 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
VisualTreeChangeEventArgsVisualTreeChangeEventArgsVisualTreeChangeEventArgsVisualTreeChangeEventArgs

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) VisualTreeChangeEventArgs(DependencyObject, DependencyObject, Int32, VisualTreeChangeType) VisualTreeChangeEventArgs(DependencyObject, DependencyObject, Int32, VisualTreeChangeType) VisualTreeChangeEventArgs(DependencyObject, DependencyObject, Int32, VisualTreeChangeType)

Initializes a new instance of the VisualTreeChangeEventArgs class.

Properties

ChangeType ChangeType ChangeType ChangeType

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

Child Child Child Child

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

ChildIndex ChildIndex ChildIndex 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 Parent Parent Parent

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

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to