Share via


IXRInkPresenter (Windows Embedded CE 6.0)

1/6/2010

This class implements a rectangular surface that displays ink strokes.

Syntax

class IXRInkPresenter : public IXRCanvas

Methods

In addition to the methods inherited from IXRCanvas, this class contains the following methods.

Name Description

IXRInkPresenter::GetStrokes

Retrieves the strokes that the IXRInkPresenter displays.

IXRInkPresenter::SetStrokes

Sets the strokes that the IXRInkPresenter displays.

Remarks

IXRInkPresenter derives from IXRCanvasand can display one or more child IXRUIElement objects and an IXRStrokeCollection.

IXRInkPresenter inherits two properties from IXRPanel that relate to presentation: Background and Children. IXRInkPresenter draws the child UI Elements over the background and the strokes over the children. Therefore, if you want other content to always remain over strokes, you must declare that content in a separate IXRCanvas that overlays the IXRInkPresenter.

You can also define an IXRInkPresenter object in Microsoft Silverlight 2 XAML. For information about the differences between XAML in Silverlight for Windows Embedded and Silverlight 2, see Differences Between Silverlight for the Web and Silverlight for Windows Embedded. For more information about how to define this element in the source XAML for your application, see this Microsoft Web site.

Inheritance Hierarchy

IXRDependencyObject

  IXRUIElement

    IXRFrameworkElement

      IXRPanel

        IXRCanvas

          IXRInkPresenter

.NET Framework Equivalent

System.Windows.Controls.InkPresenter

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

Classes for Ink Input