Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ItemsControl.ContainerFromElement Method

Returns the container that belongs to the current ItemsControl that owns the given container element.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method ContainerFromElement(DependencyObject) Returns the container that belongs to the current ItemsControl that owns the given element.
Public method Static member ContainerFromElement(ItemsControl, DependencyObject) Returns the container that belongs to the specified ItemsControl that owns the given container element.
Top

Community Additions

Show:
© 2016 Microsoft