Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
This method retrieves the collection that provides the content of this control.
Syntax
virtual HRESULT STDMETHODCALLTYPE GetItems(
IXRItemCollection** ppItems
) = 0;
Parameters
- ppItems
[out] Address of a pointer to an IXRItemCollection that represents the collection that provides the content of this control.
Return Value
Returns an HRESULT that indicates success or failure.
Remarks
You can add items to an IXRItemsControl by adding their corresponding IXRDependencyObject-derived objects to the retrieved IXRItemCollection object. You can add objects of different types to ppItems. For example, you can add IXRListBoxItem, IXRComboBoxItem, or IXRTextBox objects. Notice that you can do this by using the methods inherited from IXRCollection<In_T, Out_T>.
.NET Framework Equivalent
System.Windows.Controls.ItemsControl.Items
Requirements
| Header | XamlRuntime.h |
| sysgen | SYSGEN_XAML_RUNTIME |
| Windows Embedded CE | Windows Embedded CE 6.0 R3 |