Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

VisualTreeChangeEventArgs::ChildIndex Property

.NET Framework (current version)
 

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.

Namespace:   System.Windows.Diagnostics
Assembly:  PresentationCore (in PresentationCore.dll)

public:
property int ChildIndex {
	int get();
	private: void set(int value);
}

Property Value

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.

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

.NET Framework
Available since 4.6
Return to top
Show:
© 2017 Microsoft