Returns the container that belongs to the current ItemsControl that owns the given element.
Public Function ContainerFromElement ( _ element As DependencyObject _ ) As DependencyObject
public DependencyObject ContainerFromElement( DependencyObject element )
public: DependencyObject^ ContainerFromElement( DependencyObject^ element )
member ContainerFromElement : element:DependencyObject -> DependencyObject
Windows 7, 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