Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

InkPresenter.StrokeContainer Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets an InkStrokeContainer object to store and manage the collection of InkStroke objects rendered by the InkPresenter.

Modifications made to any of the ink strokes in the stroke container are immediately rendered to the drawing surface associated with the InkPresenter.

public:
 property InkStrokeContainer ^ StrokeContainer { InkStrokeContainer ^ get(); void set(InkStrokeContainer ^ value); };
InkStrokeContainer StrokeContainer();

void StrokeContainer(InkStrokeContainer value);
public InkStrokeContainer StrokeContainer { get; set; }
var inkStrokeContainer = inkPresenter.strokeContainer;
inkPresenter.strokeContainer = inkStrokeContainer;
Public Property StrokeContainer As InkStrokeContainer

Property Value

Stores and manages one or more InkStroke objects.

If custom dry mode is enabled (ActivateCustomDrying), StrokeContainer is null.

Remarks

The StrokesCollected event is fired when ink strokes are processed ("wet" to "dry") on the UI thread.

For ink recognition, use an InkRecognizerContainer object.

Applies to

See also


Feedback

Was this page helpful?