InkCanvas.GetVisualChild(Int32) Metoda

Definicja

GetVisualChild(Int32)Zastępuje element i zwraca element podrzędny w określonym indeksie z kolekcji elementów podrzędnych.

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

Parametry

index
Int32

Indeks zerowy żądanego elementu podrzędnego w kolekcji.

Zwraca

Visual

Żądany element podrzędny. Nie powinno to zwracać wartości null; jeśli podany indeks jest poza zakresem, zgłaszany jest wyjątek.

Dotyczy

Zobacz też