Windows apps
Collapse the table of content
Expand the table of content
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.

Grid.GetVisualChild Method (Int32)


Gets the child Visual at the specified index position.

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

protected override Visual GetVisualChild(
	int index


Type: System.Int32

The zero-based index position of the desired Visual.

Return Value

Type: System.Windows.Media.Visual

The child Visual at the specified index position.

The visual tree must not be modified while this method is called.

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft