DocumentPageView.GetVisualChild(Int32) Method

Definition

Returns the Visual child at a specified index.

protected:
 override System::Windows::Media::Visual ^ GetVisualChild(int index);
protected override System.Windows.Media.Visual GetVisualChild (int index);
override this.GetVisualChild : int -> System.Windows.Media.Visual
Protected Overrides Function GetVisualChild (index As Integer) As Visual

Parameters

index
Int32

The index of the visual child to return.

Returns

The visual child at the specified index.

Exceptions

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

Remarks

index must be between 0 and VisualChildrenCount-1.

Applies to