VisualTreeChangeEventArgs.ChildIndex Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
property int ChildIndex { int get(); };
public int ChildIndex { get; }
member this.ChildIndex : int
Public ReadOnly Property ChildIndex As Integer
Property Value
The index in the Parent element's children where the Child element is located when the add or remove operation is complete.
Remarks
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.