GetVisualChild Method

AdornerLayer.GetVisualChild Method (Int32)


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
© 2015 Microsoft