Version

ItemFromElement Method

Returns the ISupportRecycling instance associated with a given element.
Syntax
'Declaration
 
Public Function ItemFromElement( _
   ByVal element As FrameworkElement _
) As ISupportRecycling
public ISupportRecycling ItemFromElement( 
   FrameworkElement element
)

Parameters

element
The element whose associated item is to be returned.

Return Value

The associated item or null if the item was released or the element is not associated with an item
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also