ItemsControl.GetContainerForItemOverride ItemsControl.GetContainerForItemOverride ItemsControl.GetContainerForItemOverride ItemsControl.GetContainerForItemOverride Method

定义

创建或标识用于显示给定项的元素。Creates or identifies the element that is used to display the given item.

protected:
 virtual System::Windows::DependencyObject ^ GetContainerForItemOverride();
protected virtual System.Windows.DependencyObject GetContainerForItemOverride ();
abstract member GetContainerForItemOverride : unit -> System.Windows.DependencyObject
override this.GetContainerForItemOverride : unit -> System.Windows.DependencyObject
Protected Overridable Function GetContainerForItemOverride () As DependencyObject

返回

用于显示给定项的元素。The element that is used to display the given item.

适用于

另请参阅