语言

InkCanvas.GetEnabledGestures 方法

定义

返回被识别的应用程序 InkCanvas手势的集合。

public:
 System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::Ink::ApplicationGesture> ^ GetEnabledGestures();
public System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Ink.ApplicationGesture> GetEnabledGestures();
member this.GetEnabledGestures : unit -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Ink.ApplicationGesture>
Public Function GetEnabledGestures () As ReadOnlyCollection(Of ApplicationGesture)

返回

识别的 InkCanvas 手势的集合。

例外

示例

以下示例演示如何从中 InkCanvas获取启用的应用程序手势。

ReadOnlyCollection<ApplicationGesture> enabledGestures = inkCanvas1.GetEnabledGestures();
Dim enabledGestures As ReadOnlyCollection(Of ApplicationGesture) = _
                    inkCanvas1.GetEnabledGestures()

适用于