Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.KeyBinding.Config Class Reference

More...

Inheritance diagram for Ext.Net.KeyBinding.Config:
Ext.Net.BaseItem.Config Ext.Net.IApply

Static Public Member Functions

static implicit operator KeyBinding.Builder (KeyBinding.Config config)
 
- Static Public Member Functions inherited from Ext.Net.BaseItem.Config
static Config Deserialize (string config)
 
static TConfig Deserialize< TConfig > (string config)
 

Properties

virtual ? bool Shift [get, set]
 True to handle key only when shift is pressed, False to handle the key only when shift is not pressed (defaults to undefined) More...
 
virtual ? bool Ctrl [get, set]
 True to handle key only when ctrl is pressed, False to handle the key only when ctrl is not pressed (defaults to undefined) More...
 
virtual ? bool Alt [get, set]
 True to handle key only when alt is pressed, False to handle the key only when alt is not pressed (defaults to undefined) More...
 
virtual string Handler [get, set]
 The function to call when KeyMap finds the expected key combination More...
 
virtual string Scope [get, set]
 The scope of the callback function More...
 
virtual EventAction DefaultEventAction [get, set]
 A default action to apply to the event. Possible values are: stopEvent, stopPropagation, preventDefault. If no value is set no action is performed. More...
 
virtual string KeysString [get, set]
 A single keycode or an array of keycodes to handle More...
 

Additional Inherited Members

- Public Member Functions inherited from Ext.Net.BaseItem.Config
override string ToString ()
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
new Type GetType ()
 
object ApplyIf (object obj)
 
Apply< T > (object obj)
 
object Apply (object obj)
 
virtual string Serialize ()
 

Detailed Description

Member Function Documentation

◆ operator KeyBinding.Builder()

static implicit Ext.Net.KeyBinding.Config.operator KeyBinding.Builder ( KeyBinding.Config  config)
inlinestatic

Property Documentation

◆ Alt

virtual ? bool Ext.Net.KeyBinding.Config.Alt
getset

True to handle key only when alt is pressed, False to handle the key only when alt is not pressed (defaults to undefined)

◆ Ctrl

virtual ? bool Ext.Net.KeyBinding.Config.Ctrl
getset

True to handle key only when ctrl is pressed, False to handle the key only when ctrl is not pressed (defaults to undefined)

◆ DefaultEventAction

virtual EventAction Ext.Net.KeyBinding.Config.DefaultEventAction
getset

A default action to apply to the event. Possible values are: stopEvent, stopPropagation, preventDefault. If no value is set no action is performed.

◆ Handler

virtual string Ext.Net.KeyBinding.Config.Handler
getset

The function to call when KeyMap finds the expected key combination

◆ KeysString

virtual string Ext.Net.KeyBinding.Config.KeysString
getset

A single keycode or an array of keycodes to handle

◆ Scope

virtual string Ext.Net.KeyBinding.Config.Scope
getset

The scope of the callback function

◆ Shift

virtual ? bool Ext.Net.KeyBinding.Config.Shift
getset

True to handle key only when shift is pressed, False to handle the key only when shift is not pressed (defaults to undefined)


The documentation for this class was generated from the following file: