DataGridColumnHeadersPresenter.GetVisualChild Method (Int32)

.NET Framework (current version)

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

Returns the Visual child at the specified index.

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

protected override Visual GetVisualChild(
	int index


Type: System.Int32

The index of the Visual child to return.

Return Value

Type: System.Windows.Media.Visual

The child.

This method override includes the column header drag indicator as a visual child.

.NET Framework
Available since 4.0
Return to top