InkCanvas::GetSelectedStrokes Method ()
.NET Framework (current version)
Retrieves a StrokeCollection that represents selected Stroke objects on the InkCanvas.
Assembly: PresentationFramework (in PresentationFramework.dll)
This method returns Stroke objects, only. To retrieve selected FrameworkElement objects, call the GetSelectedElements method.
If the EditingMode of InkCanvas is set to EditingMode, users can select Stroke objects and FrameworkElement objects. Alternatively, both types of objects can be selected using code: just call the Select method.
.NET Framework
Available since 3.0
Available since 3.0
Show: