Share via


IXRItemsControl::GetItemsPanel (Compact 2013)

3/28/2014

This function retrieves the template that defines the panel that controls the layout of items in this control.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetItemsPanel(
    IXRItemsPanelTemplate** ppItemsPanel
) = 0;

Parameters

  • ppItemsPanel
    [out] Address of a pointer to an IXRItemsPanelTemplate 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 IXRItemsControl::SetItemsPanel.

.NET Framework Equivalent

System.Windows.Controls.ItemsControl.ItemsPanel

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRItemsControl
IXRItemsControl::SetItemsPanel