Delen via


Windows.UI.Input.Inking.Core Namespace

Overrides default InkPresenter run-time behavior to provide advanced input, processing, and management support for Windows Ink apps.

The Windows.UI.Input.Inking.Core APIs enable you to:

  • Handle ink stroke events and pointer events before standard InkPresenter events, which occur after ink strokes have been rendered.
  • Intercept raw pointer data and suppress, or cancel, ink rendering at any point along a stroke. This can be useful when protecting existing ink strokes or providing custom gesture support, such as press and hold, without creating ink artifacts.
  • Control the rendering path of an ink stroke. This can be useful for auto-correcting a user's stroke or masking areas of the drawing surface.
  • Draw ink strokes incrementally using individual InkPoint objects.

Important

Windows.UI.Input.Inking.Core processing occurs on the ink background thread. For this reason, ensure any custom processing of ink input is as lightweight as possible to avoid degraded performance and to keep your app as responsive as possible.

Classes

CoreIncrementalInkStroke

Represents a single ink stroke that can be rendered incrementally, using individual InkPoint objects.

CoreInkIndependentInputSource

Provides properties, methods, and events for handling pointer input prior to processing by an InkPresenter object.

Important

These events occur on the ink background thread. For this reason, ensure any custom processing of ink input is as lightweight as possible to avoid degraded performance and to keep your app as responsive as possible.

CoreInkPresenterHost

Represents an object that hosts an InkPresenter without the need for an InkCanvas control.

CoreWetStrokeUpdateEventArgs

Contains ink stroke event data for an InkPresenter object.

CoreWetStrokeUpdateSource

Represents the InkPresenter that manages the input, processing, and rendering of ink stroke data.

Enums

CoreWetStrokeDisposition

Defines constants that specify the pre-rendered state (Disposition) of the "wet" ink stroke.

See also