ItemsControl.ItemsControlFromItemContainer(DependencyObject) メソッド

定義

指定されたコンテナー要素を所有する ItemsControl を返します。

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

パラメーター

container
DependencyObject

ItemsControl を返す対象となるコンテナー要素。

戻り値

指定されたコンテナー要素を所有する ItemsControl

適用対象

こちらもご覧ください