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

More...

Inheritance diagram for Ext.Net.JFunction:
Ext.Net.BaseItem Ext.Net.IXObject Ext.Net.IBase Ext.Net.TransformFunction

Public Member Functions

 JFunction ()
 
 JFunction (string handler)
 
 JFunction (string handler, int delay)
 
 JFunction (string handler, params string[] args)
 
virtual void Defer (int millis)
 Defer execution of this JFunction for the specified number of Milliseconds More...
 
virtual void Call ()
 Render this JFunction to the client More...
 
virtual void Render ()
 Render this JFunction to the client More...
 
override string ToString ()
 
virtual string ToScript ()
 
virtual string ToCallScript (params string[] args)
 
- 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 ()
 
virtual IControlBuilder ToNativeBuilder ()
 

Static Public Member Functions

static bool IsFunctionName (string fn)
 

Protected Member Functions

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

Properties

virtual string Name [get, set]
 
virtual string Fn [get, set]
 The raw JavaScript code to call. More...
 
virtual string Handler [get, set]
 The JavaScript logic within the function(){} signature. More...
 
virtual string[] Args [get, set]
 Custom arguments passed to event handler if Handler property is set. More...
 
virtual bool FormatHandler [get, set]
 If FormatHander=true, then the Handler property will be passed through the string.Format() Method and argument placeholders/tokens with be replaced with the argument index value. More...
 
virtual int Delay [get, set]
 
override bool IsDefault [get]
 
static JFunction EmptyFn [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]
 

Detailed Description

Constructor & Destructor Documentation

◆ JFunction() [1/4]

Ext.Net.JFunction.JFunction ( )
inline

◆ JFunction() [2/4]

Ext.Net.JFunction.JFunction ( string  handler)
inline

◆ JFunction() [3/4]

Ext.Net.JFunction.JFunction ( string  handler,
int  delay 
)
inline

Parameters
handler
delay

◆ JFunction() [4/4]

Ext.Net.JFunction.JFunction ( string  handler,
params string[]  args 
)
inline

Member Function Documentation

◆ Call()

virtual void Ext.Net.JFunction.Call ( )
inlinevirtual

Render this JFunction to the client

◆ Defer()

virtual void Ext.Net.JFunction.Defer ( int  millis)
inlinevirtual

Defer execution of this JFunction for the specified number of Milliseconds

Parameters
millis

◆ Render()

virtual void Ext.Net.JFunction.Render ( )
inlinevirtual

Render this JFunction to the client

◆ ToCallScript()

virtual string Ext.Net.JFunction.ToCallScript ( params string[]  args)
inlinevirtual

Parameters
args
Returns

◆ ToScript()

virtual string Ext.Net.JFunction.ToScript ( )
inlinevirtual

Returns

◆ ToString()

override string Ext.Net.JFunction.ToString ( )
inline

◆ WrapByDelay()

virtual string Ext.Net.JFunction.WrapByDelay ( string  fn)
inlineprotectedvirtual

Parameters
fn
Returns

Property Documentation

◆ Args

virtual string [] Ext.Net.JFunction.Args
getset

Custom arguments passed to event handler if Handler property is set.

◆ Delay

virtual int Ext.Net.JFunction.Delay
getset

◆ EmptyFn

JFunction Ext.Net.JFunction.EmptyFn
staticget

◆ Fn

virtual string Ext.Net.JFunction.Fn
getset

The raw JavaScript code to call.

◆ FormatHandler

virtual bool Ext.Net.JFunction.FormatHandler
getset

If FormatHander=true, then the Handler property will be passed through the string.Format() Method and argument placeholders/tokens with be replaced with the argument index value.

◆ Handler

virtual string Ext.Net.JFunction.Handler
getset

The JavaScript logic within the function(){} signature.

◆ IsDefault

override bool Ext.Net.JFunction.IsDefault
get

◆ Name

virtual string Ext.Net.JFunction.Name
getset


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