Compartilhar via


XRCustomUserControlImpl::ControlID (Compact 2013)

3/28/2014

This method retrieves an integer value that represents the ID of a custom user control.

Syntax

static UINT ControlID() { return s_ControlId; }

Parameters

None.

Return Value

Returns a control ID for a custom user control.

Remarks

You can use this method inline as the objectID parameter in IXRApplication::RegisterAttachedProperty or IXRApplication::RegisterDependencyProperty.

.NET Framework Equivalent

None.

Requirements

Header

xrcustomcontrol.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XRCustomUserControlImpl<Base,IFace>