IXRControl::SetPadding (Compact 2013)

3/28/2014

This method sets a new measurement for the space between the content of this control and its margin

Syntax

virtual HRESULT STDMETHODCALLTYPE SetPadding(
    XRThickness *pPadding
) = 0; 

Parameters

  • pPadding
    [in] Pointer to an XRThickness structure that describes the new width of the space that surrounds the content of this control.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Controls.Control.Padding

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRControl
IXRControl::GetPadding