IXRUserControl::SetContent (Compact 2013)

3/28/2014

This method sets the object that represents the content to display inside this control.


virtual HRESULT STDMETHODCALLTYPE SetContent(
    IXRUIElement *pContent
) = 0;

pContent

[in] Pointer to an IXRUIElement derived object that represents the content to display inside this control.

Returns an HRESULT that indicates success or failure.

The object in pContent can represent a parent node of a branch of the element tree that contains new child content for this control.

The object in pContent, together with its contents, is displayed on-screen inside the IXRUserControl control.

System.Windows.Controls.UserControl.Content

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

Show: