DocumentPageView::GetVisualChild Method (Int32)

 

Returns the Visual child at a specified index.

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

protected:
virtual Visual^ GetVisualChild(
	int index
) override

Parameters

index
Type: System::Int32

The index of the visual child to return.

Return Value

Type: System.Windows.Media::Visual^

The visual child at the specified index.

Exception Condition
ArgumentOutOfRangeException

index is less than zero, or greater than or equal to VisualChildrenCount.

index must be between 0 and VisualChildrenCount-1.

.NET Framework
Available since 3.0
Return to top
Show: