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

The object describing a handling function for a specified key More...

Inheritance diagram for Ext.Net.KeyBinding:
Ext.Net.BaseItem Ext.Net.IXObject Ext.Net.IBase

Classes

class  Builder
 
class  Config
 

Public Member Functions

 KeyBinding ()
 
KeyBinding.Builder ToBuilder ()
 
override IControlBuilder ToNativeBuilder ()
 
 KeyBinding (Config config)
 
- Public Member Functions inherited from Ext.Net.BaseItem
virtual bool HasExplicitValue (string name)
 
void EnsureDataBind ()
 
virtual void Call (string name)
 
virtual void Call (string name, params object[] args)
 
virtual void AddScript (string script)
 
virtual void AddScript (string script, params object[] args)
 
virtual bool IsEmptyObject ()
 
Apply< T > (IApply config)
 
BaseItem Apply (object config)
 
virtual void LoadViewState (object state)
 
virtual object SaveViewState ()
 
virtual void TrackViewState ()
 
void SetDirty ()
 
virtual void DataBind ()
 

Static Public Member Functions

static implicit operator KeyBinding (KeyBinding.Config 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...
 
string KeysStringProxy [get]
 
KeyCollection Keys [get]
 A single keycode or an array of keycodes to handle More...
 
string KeysProxy [get]
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.BaseItem
virtual string InstanceOf [get]
 
ItemState State [get]
 
virtual DefaultValueMode DefaultValueMode [get, set]
 
virtual bool DesignMode [get]
 
bool AutoDataBind [get, set]
 
ResourceManager ResourceManager [get]
 
virtual Control Owner [get, set]
 The Owner Control for this Listener. More...
 
virtual bool IsDefault [get]
 Does this object currently represent it's default state. More...
 
bool IsTrackingViewState [get]
 
EventHandlerList Events [get]
 
EventHandler DataBinding
 
Control?? BindingContainer [get]
 
virtual ConfigItemCollection?? CustomConfig [get]
 Collection of custom js config More...
 
virtual ConfigOptionsCollection ConfigOptions [get]
 
virtual ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
System.Web.Mvc.HtmlHelper?? HtmlHelper [get, set]
 
- Properties inherited from Ext.Net.IXObject
ConfigOptionsCollection ConfigOptions [get]
 
ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
DefaultValueMode DefaultValueMode [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from Ext.Net.BaseItem
 BaseItem (Control owner)
 
 BaseItem ()
 
virtual void OwnerUpdate (Control owner)
 
virtual void OnDataBinding (EventArgs e)
 

Detailed Description

The object describing a handling function for a specified key

Constructor & Destructor Documentation

◆ KeyBinding() [1/2]

Ext.Net.KeyBinding.KeyBinding ( )
inline

◆ KeyBinding() [2/2]

Ext.Net.KeyBinding.KeyBinding ( Config  config)
inline

Member Function Documentation

◆ operator KeyBinding()

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

◆ ToBuilder()

KeyBinding.Builder Ext.Net.KeyBinding.ToBuilder ( )
inline

◆ ToNativeBuilder()

override IControlBuilder Ext.Net.KeyBinding.ToNativeBuilder ( )
inlinevirtual

Reimplemented from Ext.Net.BaseItem.

Property Documentation

◆ Alt

virtual ? bool? Ext.Net.KeyBinding.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)

◆ ConfigOptions

override ConfigOptionsCollection Ext.Net.KeyBinding.ConfigOptions
get

◆ Ctrl

virtual ? bool? Ext.Net.KeyBinding.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.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.Handler
getset

The function to call when KeyMap finds the expected key combination

◆ Keys

KeyCollection Ext.Net.KeyBinding.Keys
get

A single keycode or an array of keycodes to handle

◆ KeysProxy

string Ext.Net.KeyBinding.KeysProxy
getprotected

◆ KeysString

virtual string Ext.Net.KeyBinding.KeysString
getset

A single keycode or an array of keycodes to handle

◆ KeysStringProxy

string Ext.Net.KeyBinding.KeysStringProxy
getprotected

◆ Scope

virtual string Ext.Net.KeyBinding.Scope
getset

The scope of the callback function

◆ Shift

virtual ? bool? Ext.Net.KeyBinding.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 files: