Поделиться через


InkCollectorGestureEventArgs - конструктор

Обновлен: Ноябрь 2007

Initializes a new instance of the InkCollectorGestureEventArgs event.

Пространство имен:  Microsoft.Ink
Сборка:  Microsoft.Ink (в Microsoft.Ink.dll)

Синтаксис

'Декларация
Public Sub New ( _
    cursor As Cursor, _
    strokes As Strokes, _
    gestures As Gesture(), _
    cancel As Boolean _
)
'Применение
Dim cursor As Cursor
Dim strokes As Strokes
Dim gestures As Gesture()
Dim cancel As Boolean

Dim instance As New InkCollectorGestureEventArgs(cursor, _
    strokes, gestures, cancel)
public InkCollectorGestureEventArgs(
    Cursor cursor,
    Strokes strokes,
    Gesture[] gestures,
    bool cancel
)
public:
InkCollectorGestureEventArgs(
    Cursor^ cursor, 
    Strokes^ strokes, 
    array<Gesture^>^ gestures, 
    bool cancel
)
public InkCollectorGestureEventArgs(
    Cursor cursor,
    Strokes strokes,
    Gesture[] gestures,
    boolean cancel
)
public function InkCollectorGestureEventArgs(
    cursor : Cursor, 
    strokes : Strokes, 
    gestures : Gesture[], 
    cancel : boolean
)

Параметры

  • cancel
    Тип: System.Boolean
    A value that indicates whether the gesture was handled in the Gesture event handler.
    true (default) if the gesture was handled in the Gesture event handler; otherwise, false.

Заметки

The Cancel property of the InkCollectorGestureEventArgs object indicates whether the Gesture event is cancelled by the InkCollector object. If set to true the Stroke object is treated as ink. If false the Stroke object triggers the Gesture. The application can subsequently decide whether to keep the ink as ink, or discard it altogether. The default value is false.

Платформы

Windows Vista

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

InkCollectorGestureEventArgs Класс

InkCollectorGestureEventArgs - члены

Microsoft.Ink - пространство имен

InkCollector.Gesture