IXRItemsControl::SetItemsPanel (Windows Embedded CE 6.0)
1/6/2010
This function sets the template that defines the panel that controls the layout of items in this control.
Syntax
virtual HRESULT STDMETHODCALLTYPE SetItemsPanel(
IXRItemsPanelTemplate* pItemsPanel
) = 0;
Parameters
- pItemsPanel
[in] Pointer to an IXRItemsPanelTemplate object that defines the panel that controls the layout of items in this control.
Return Value
Returns an HRESULT that indicates success or failure.
Remarks
To affect the layout of the items in an IXRItemsControl, you can specify an IXRItemsPanelTemplate in a call to SetItemsPanel.
.NET Framework Equivalent
System.Windows.Controls.ItemsControl.ItemsPanel
Requirements
Header | XamlRuntime.h |
sysgen | SYSGEN_XAML_RUNTIME |