編輯

共用方式為


AdornerLayer.GetVisualChild(Int32) Method

Definition

Gets a Visual child at the specified index position.

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 position of the wanted Visual child.

Returns

A Visual child of the parent AdornerLayer element.

Remarks

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).

Applies to

See also