Share via


IXRBorder::SetChild (Compact 2013)

3/28/2014

This method sets the child element to draw the border around.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetChild(
    __in IXRUIElement *pChild
) = 0;

Parameters

  • pChild
    [in] Pointer to the IXRUIElement that is the child of this IXRBorder object.

Return Values

Returns a standard HRESULT value.

Remarks

IXRBorder can have only one child object. To apply a border around multiple objects, wrap the elements in a container and put the border around the container.

.NET Framework Equivalent

System.Windows.Controls.Border.Child

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRBorder