Windows Dev Center

The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

InkCanvas.SelectionChanged Event


Occurs when the selection on the InkCanvas changes.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public event EventHandler SelectionChanged

This event is raised after a set of ink strokes and/or elements has been selected and applied by the user.

If, instead, you must handle a request that select a set of ink strokes and/or elements before the selection is applied, add an event handler to the SelectionChanging event.

The following example prevents the user from making a selection smaller than its original size.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft