Windows Dev Center

EN
Il contenuto non è disponibile nella lingua di destinazione, ma solo in inglese.

ItemContainerGenerator.ItemFromContainer Method

Returns the item that corresponds to the specified, generated container.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)

public Object ItemFromContainer(
	DependencyObject container
)

Parameters

container
Type: System.Windows.DependencyObject
The DependencyObject that corresponds to the item to be returned.

Return Value

Type: System.Object
The contained item, or the container if it does not contain an item.

ExceptionCondition
ArgumentNullException

container is null.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Mostra:
© 2015 Microsoft