AdornerLayer.GetVisualChild Method (Int32)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a Visual child at the specified index position.

Namespace:   System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override Visual GetVisualChild(
	int index


Type: System.Int32

The index position of the wanted Visual child.

Return Value

Type: System.Windows.Media.Visual

A Visual child of the parent AdornerLayer element.

A derived class must implement this method to support Visual children. The method must return the child at the specified index. The index must be between 0 and (VisualChildrenCount-1).

.NET Framework
Available since 3.0
Return to top