名前空間一覧 > GrapeCity.Web.Input.IMExtenders 名前空間 > GcShortcut クラス : GetShortcuts メソッド |
Public Function GetShortcuts( _ ByVal control As Control _ ) As IDictionary(Of Keys,ShortcutAction)
public IDictionary<Keys,ShortcutAction> GetShortcuts( Control control )
例外 | 解説 |
---|---|
System.ArgumentNullException | control にnull(Visual BasicではNothing)が設定されています。 |
Imports GrapeCity.Web.Input.IMExtenders Imports GrapeCity.Web.Input.Core Dim sAction As New ShortcutAction sAction.Action = GrapeCity.Web.Input.Core.KeyActions.NextControl GcShortcut1.GetShortcuts(GcComboBox1).Add(Keys.N Or Keys.Alt, sAction)
using GrapeCity.Web.Input.IMExtenders; using GrapeCity.Web.Input.Core; ShortcutAction sAction = new ShortcutAction(); sAction.Action = GrapeCity.Web.Input.Core.KeyActions.NextControl; GcShortcut1.GetShortcuts(GcComboBox1).Add(Keys.N | Keys.Alt, sAction);