ItemsControl.ItemsControlFromItemContainer(DependencyObject) Metoda

Definice

ItemsControl Vrátí hodnotu, která vlastní zadaný element kontejneru.

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 kontejneru ItemsControl , pro který se má vrátit.

Návraty

ItemsControl

Ten ItemsControl vlastní zadaný element kontejneru.

Platí pro

Viz také