Edytuj

Udostępnij za pośrednictwem


VisualTreeChangeEventArgs.ChildIndex Property

Definition

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.

Applies to