AdornerLayer.GetVisualChild(Int32) 方法

定义

Visual获取位于指定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

参数

index
Int32

所需 Visual 子项的索引位置。

返回

VisualAdornerLayer元素的子元素。

注解

派生类必须实现此方法以支持 Visual 子级。 该方法必须返回指定索引处的子级。 索引必须介于 (0VisualChildrenCount) 之间-1

适用于

另请参阅