AdornerLayer.GetVisualChild(Int32) Metoda

Definicja

Pobiera element podrzędny Visual w określonej index pozycji.

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

Pozycja indeksu żądanego Visual elementu podrzędnego.

Zwraca

Element Visual podrzędny elementu nadrzędnego AdornerLayer .

Uwagi

Klasa pochodna musi zaimplementować tę metodę do obsługi elementów podrzędnych Visual . Metoda musi zwrócić element podrzędny w określonym indeksie. Indeks musi zawierać się między 0 i (VisualChildrenCount-1).

Dotyczy

Zobacz też