ItemsControl.GetItemsOwner(DependencyObject) Method

Definition

Returns the ItemsControl that the specified element hosts items for.

C#
public static ItemsControl GetItemsOwner(DependencyObject element);

Parameters

element
DependencyObject

The host element.

Returns

The ItemsControl that the specified element hosts items for, or null.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6