This documentation is archived and is not being maintained.

InkAnalyzer::ContextNodeDeleting Event

Occurs before the InkAnalyzer deletes a ContextNode.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)

 event ContextNodeDeletingEventHandler^ ContextNodeDeleting {
	void add (ContextNodeDeletingEventHandler^ value);
	void remove (ContextNodeDeletingEventHandler^ value);

Use this event when your application maintains its own data structure, which is synchronized with that of the InkAnalyzer. This event occurs during the reconcile phase of ink analysis, or in response to an InkAnalyzer method that deletes a ContextNode.

Before the InkAnalyzer deletes a ContextNode, the InkAnalyzer removes all of the strokes from the ContextNode and removes all of the links to other ContextNode objects. Before the ContextNode is removed, InkAnalyzer may raise the following events.

For more information about synchronizing your application data with the InkAnalyzer, see Data Proxy with Ink Analysis.

This example defines a method, AttachDataProxyEventHandlers, that attaches data proxy event handlers to an InkAnalyzer, theInkAnalyzer.

No code example is currently available or this language may not be supported.

The following example defines the method, RemoveContextNode, that handles the ContextNodeDeleting event. The event information is passed to the document model object, theDocumentModel.

This example does not provide the definition of the document model or demonstrate how it processes the information passed to it.

No code example is currently available or this language may not be supported.

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.0