Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic

C#
Visual Basic

Azuki 1.7 Documentation
AzukiControl..::..SetKeyBind Method (UInt32, ActionProc)
AzukiControl Class See Also Send Feedback

Sets or removes key-bind entry. Note that giving null to action will remove the key-bind.

Namespace: Sgry.Azuki.WinForms
Assembly: Azuki (in Azuki.dll) Version: 1.7.13.40248

# Syntax

C#
    public void SetKeyBind(
    	uint keyCode,
    	ActionProc action
    )

Visual Basic
    Public Sub SetKeyBind (
    	keyCode As UInteger,
    	action As ActionProc
    )

#### Parameters

keyCode
  Type: System..::..UInt32
  key code to set/remove new action

action
  Type: Sgry.Azuki..::..ActionProc
  action to be associated or null in case of removing key-bind.

#### Implements

IUserInterface..::..SetKeyBind(UInt32, ActionProc)

# See Also

AzukiControl Class
AzukiControl..::..AzukiControl Members
SetKeyBind Overload
Sgry.Azuki.WinForms Namespace