다음을 통해 공유


ItemContainerGenerator.ItemFromContainer(DependencyObject) 메서드

정의

참고

ItemFromContainer는 Windows 8.1 후 릴리스에서 변경되거나 사용할 수 없습니다. 대신 ItemsControl.ItemFromContainer를 사용합니다.

지정된 생성된 컨테이너에 해당하는 항목을 반환합니다.

public:
 virtual Platform::Object ^ ItemFromContainer(DependencyObject ^ container) = ItemFromContainer;
/// [Windows.Foundation.Metadata.Deprecated("ItemFromContainer may be altered or unavailable for releases after Windows 8.1. Instead, use ItemsControl.ItemFromContainer.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
IInspectable ItemFromContainer(DependencyObject const& container);
/// [Windows.Foundation.Metadata.Deprecated("ItemFromContainer may be altered or unavailable for releases after Windows 8.1. Instead, use ItemsControl.ItemFromContainer.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
IInspectable ItemFromContainer(DependencyObject const& container);
[Windows.Foundation.Metadata.Deprecated("ItemFromContainer may be altered or unavailable for releases after Windows 8.1. Instead, use ItemsControl.ItemFromContainer.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
public object ItemFromContainer(DependencyObject container);
[Windows.Foundation.Metadata.Deprecated("ItemFromContainer may be altered or unavailable for releases after Windows 8.1. Instead, use ItemsControl.ItemFromContainer.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
public object ItemFromContainer(DependencyObject container);
function itemFromContainer(container)
Public Function ItemFromContainer (container As DependencyObject) As Object

매개 변수

container
DependencyObject

반환할 항목에 해당하는 DependencyObject 입니다.

반환

Object

Platform::Object

IInspectable

포함된 항목 또는 항목이 포함되지 않은 경우 컨테이너입니다.

특성

적용 대상