IXRCustomUserControl (Windows Embedded CE 6.0)
1/6/2010
This class provides a base class for implementing an interface for a custom user control.
Syntax
class IXRCustomUserControl: public IXRCustomUserControlBase
Methods
Method | Description |
---|---|
This method is called by Silverlight to retrieve a reference to Silverlight object for this custom user control. |
Remarks
You need to use IXRCustomUserControl as a base class for developing a custom user control.
With a custom user control, you can implement custom functionality and create a unique appearance for a UI control that meets the specific needs of users of your Windows Embedded CE powered device. The control can be integrated with and reused in other Silverlight applications.
In Silverlight, custom user controls can be derived from this class or the template wrapper class XRCustomUserControlImpl<Base,IFace>. This wrapper class uses a template parameter that is an interface of type IXRCustomUserControl or a derived type.
This IXRCustomUserControl::GetXRObject method is used internally by Silverlight for Windows Embedded.
Note
IXRCustomUserControl inherits from IXRDependencyObject, which is a pure virtual class and supports the methods on IUnknown.
Inheritance Hierarchy
IXRCustomUserControl
.NET Framework Equivalent
None.
Requirements
Header | XamlRuntime.h |
sysgen | SYSGEN_XAML_RUNTIME |
Windows Embedded CE | Windows Embedded CE 6.0 R3 |
See Also
Reference
Classes for UI Element Management
Concepts
Create a Custom User Control in Silverlight for Windows Embedded