InkCanvas::SelectionChanged Event

 

Occurs when the selection on the InkCanvas changes.

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

public:
event EventHandler^ SelectionChanged {
	void add(EventHandler^ value);
	void remove(EventHandler^ value);
}

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.

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

.NET Framework
Available since 3.0
Return to top
Show: