VisualTreeChangeEventArgs Constructor (DependencyObject^, DependencyObject^, Int32, VisualTreeChangeType)
.NET Framework (current version)
Initializes a new instance of the VisualTreeChangeEventArgs class.
Assembly: PresentationCore (in PresentationCore.dll)
public: VisualTreeChangeEventArgs( DependencyObject^ parent, DependencyObject^ child, int childIndex, VisualTreeChangeType changeType )
Parameters
- parent
-
Type:
System.Windows::DependencyObject^
The DependencyObject to which an element (Child) was either added or removed.
- child
-
Type:
System.Windows::DependencyObject^
The DependencyObject that was added to or removed from another element (Parent).
- childIndex
-
Type:
System::Int32
The index in the Parent element’s children where the Child element is located when the add or remove operation is complete.
- changeType
-
Type:
System.Windows.Diagnostics::VisualTreeChangeType
A value that indicates whether the Child element was added to another element (Parent) or removed.
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
.NET Framework
Available since 4.6
Available since 4.6
Show: