ItemsControl.ItemsControlFromItemContainer(DependencyObject) Metoda

Definicja

Zwraca element ItemsControl , który jest właścicielem określonego elementu kontenera.

public:
 static System::Windows::Controls::ItemsControl ^ ItemsControlFromItemContainer(System::Windows::DependencyObject ^ container);
public static System.Windows.Controls.ItemsControl ItemsControlFromItemContainer (System.Windows.DependencyObject container);
static member ItemsControlFromItemContainer : System.Windows.DependencyObject -> System.Windows.Controls.ItemsControl
Public Shared Function ItemsControlFromItemContainer (container As DependencyObject) As ItemsControl

Parametry

container
DependencyObject

Element kontenera, dla który ma być zwracany ItemsControl .

Zwraca

ItemsControl

Element ItemsControl , który jest właścicielem określonego elementu kontenera.

Dotyczy

Zobacz też