ItemsControl.GetItemsOwner(DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the ItemsControl that the specified element hosts items for.
static ItemsControl GetItemsOwner(DependencyObject const& element);
public static ItemsControl GetItemsOwner(DependencyObject element);
function getItemsOwner(element)
Public Shared Function GetItemsOwner (element As DependencyObject) As ItemsControl
Parameters
- element
- DependencyObject
The host element.
Returns
The ItemsControl that the specified element hosts items for, or null.