Grid.GetVisualChild(Int32) 方法

定義

取得位在所指定之 index 位置的子 Visual

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 之以零起始的索引位置。

傳回

位於指定之 index 位置的子 Visual

備註

呼叫此方法時,不得修改視覺化樹狀結構。

適用於