EditingMode property. Table 4-4 lists all your options.
Table 4-4.Values of the InkCanvasEditingMode Enumeration
Name Description
Ink The InkCanvas allows the user to draw annotations. This is the default
mode. When the user draws with the mouse or stylus, a stroke is drawn.
GestureOnly The InkCanvas doesn??™t allow the user to draw stroke annotations but
pays attention to specific predefined gestures (such as dragging the
stylus in one direction, or scratching out content). The full list of
recognized gestures is listed by the System.Windows.Ink.ApplicationGesture
enumeration.
InkAndGesture The InkCanvas allows the user to draw stroke annotations and also
recognizes predefined gestures.
EraseByStroke The InkCanvas erases a stroke when it??™s clicked. If the user has a stylus,
he can switch to this mode by using the back end of the stylus. (You can
determine the current mode using the read-only ActiveEditingMode
property, and you can change the mode used for the back end of the
stylus by changing the EditingModeInverted property.)
EraseByPoint The InkCanvas erases a portion of a stroke (a point in a stroke) when
that portion is clicked.
Select The InkCanvas allows the user to select elements that are stored in the
Children collection. To select an element, the user must click it or drag
a selection ???lasso??? around it.
Pages:
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247