Partager via


IXRControl::GetPadding (Compact 2013)

3/28/2014

This method retrieves a value that measures the space between the content of this control and its margin.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetPadding(_
    XRThickness *pPadding
) = 0;

Parameters

  • pPadding
    [out] Pointer to an XRThickness structure that describes the 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::SetPadding