Share via


IXRContentPresenter::GetContentTemplate (Compact 2013)

3/28/2014

This method retrieves the object that represents the data template used to display the content inside this control.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetContentTemplate(
    __out IXRDataTemplate** pContentTemplate
) = 0;

Parameters

  • pContentTemplate
    [out] Pointer to a pointer to an IXRDataTemplate object that represents the data template used to display the content inside this control.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The IXRDataTemplate object specifies the visual structure that determines the appearance of the content of the control.

.NET Framework Equivalent

System.Windows.Controls.ContentPresenter.ContentTemplate

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRContentPresenter
Classes for UI Element Management