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

More...

Inheritance diagram for Ext.Net.Node:
Ext.Net.BaseItem Ext.Net.IIcon Ext.Net.IClientConfig Ext.Net.IXObject Ext.Net.IBase

Classes

class  Builder
 
class  Builder
 
class  Config
 

Public Member Functions

 Node ()
 
string ToScript ()
 
string ToScript (bool configOnly)
 
Node.Builder ToBuilder ()
 
override IControlBuilder ToNativeBuilder ()
 
 Node (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 Node (Node.Config config)
 

Properties

virtual string NodeID [get, set]
 The id for this node. If one is not specified, one is generated. More...
 
virtual bool Leaf [get, set]
 Set to true to indicate that this child can have no children. The expand icon/arrow will then not be rendered for this node. Defaults to: false More...
 
virtual bool AllowDrag [get, set]
 False to make this node undraggable if draggable = true (defaults to true) More...
 
virtual bool AllowDrop [get, set]
 False if this node cannot have child nodes dropped on it (defaults to true) More...
 
virtual ? bool? Checked [get, set]
 True to render a checked checkbox for this node, false to render an unchecked checkbox (defaults to undefined with no checkbox rendered) More...
 
virtual string Cls [get, set]
 A css class to be added to the node. More...
 
virtual bool Expandable [get, set]
 Set to true to allow for expanding/collapsing of this node. Defaults to: true More...
 
virtual bool Expanded [get, set]
 True to start the node expanded More...
 
virtual bool EmptyChildren [get, set]
 True to render empty children array More...
 
virtual string? EmptyChildrenProxy [get]
 
virtual string Href [get, set]
 URL of the link used for the node (defaults to #) More...
 
virtual string HrefTarget [get, set]
 Target for link. Only applicable when href also specified. More...
 
virtual string IconFile [get, set]
 The path to an icon for the node. The preferred way to do this is to use the cls or iconCls attributes and add the icon via a CSS background image. More...
 
virtual Icon Icon [get, set]
 The icon to use for the Node. See also, IconCls to set an icon with a custom Css class. More...
 
virtual string IconClsProxy [get]
 
virtual string IconCls [get, set]
 A css class to be added to the nodes icon element for applying css background images More...
 
virtual string Qtip [get, set]
 Tooltip text to show on this node. More...
 
virtual string Qtitle [get, set]
 Tooltip title. More...
 
virtual string Text [get, set]
 The text for to show on node label. More...
 
virtual NodeCollection Children [get]
 Array of child nodes. More...
 
Node ParentNode [get, set]
 
virtual int Depth [get]
 
virtual string DataPath [get, set]
 
virtual ConfigItemCollection CustomAttributes [get]
 Collection of custom node attributes More...
 
virtual object AttributesObject [get, set]
 
virtual bool AttributesCamelCase [get, set]
 
virtual object? AttributesObjectCamelProxy [get]
 
virtual object? AttributesObjectProxy [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]
 
- Properties inherited from Ext.Net.IIcon
List< IconIcons [get]
 

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

Constructor & Destructor Documentation

◆ Node() [1/2]

Ext.Net.Node.Node ( )
inline

◆ Node() [2/2]

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

Member Function Documentation

◆ operator Node()

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

◆ ToBuilder()

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

◆ ToNativeBuilder()

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

Reimplemented from Ext.Net.BaseItem.

◆ ToScript() [1/2]

string Ext.Net.Node.ToScript ( )
inline

Returns

◆ ToScript() [2/2]

string Ext.Net.Node.ToScript ( bool  configOnly)
inline

Parameters
configOnly
Returns

Property Documentation

◆ AllowDrag

virtual bool Ext.Net.Node.AllowDrag
getset

False to make this node undraggable if draggable = true (defaults to true)

◆ AllowDrop

virtual bool Ext.Net.Node.AllowDrop
getset

False if this node cannot have child nodes dropped on it (defaults to true)

◆ AttributesCamelCase

virtual bool Ext.Net.Node.AttributesCamelCase
getset

◆ AttributesObject

virtual object Ext.Net.Node.AttributesObject
getset

◆ AttributesObjectCamelProxy

virtual object? Ext.Net.Node.AttributesObjectCamelProxy
getprotected

◆ AttributesObjectProxy

virtual object? Ext.Net.Node.AttributesObjectProxy
getprotected

◆ Checked

virtual ? bool? Ext.Net.Node.Checked
getset

True to render a checked checkbox for this node, false to render an unchecked checkbox (defaults to undefined with no checkbox rendered)

◆ Children

virtual NodeCollection Ext.Net.Node.Children
get

Array of child nodes.

◆ Cls

virtual string Ext.Net.Node.Cls
getset

A css class to be added to the node.

◆ ConfigOptions

override ConfigOptionsCollection Ext.Net.Node.ConfigOptions
get

◆ CustomAttributes

virtual ConfigItemCollection Ext.Net.Node.CustomAttributes
get

Collection of custom node attributes

◆ DataPath

virtual string Ext.Net.Node.DataPath
getset

◆ Depth

virtual int Ext.Net.Node.Depth
get

◆ EmptyChildren

virtual bool Ext.Net.Node.EmptyChildren
getset

True to render empty children array

◆ EmptyChildrenProxy

virtual string? Ext.Net.Node.EmptyChildrenProxy
getprotected

◆ Expandable

virtual bool Ext.Net.Node.Expandable
getset

Set to true to allow for expanding/collapsing of this node. Defaults to: true

◆ Expanded

virtual bool Ext.Net.Node.Expanded
getset

True to start the node expanded

◆ Href

virtual string Ext.Net.Node.Href
getset

URL of the link used for the node (defaults to #)

◆ HrefTarget

virtual string Ext.Net.Node.HrefTarget
getset

Target for link. Only applicable when href also specified.

◆ Icon

virtual Icon Ext.Net.Node.Icon
getset

The icon to use for the Node. See also, IconCls to set an icon with a custom Css class.

◆ IconCls

virtual string Ext.Net.Node.IconCls
getset

A css class to be added to the nodes icon element for applying css background images

◆ IconClsProxy

virtual string Ext.Net.Node.IconClsProxy
getprotected

◆ IconFile

virtual string Ext.Net.Node.IconFile
getset

The path to an icon for the node. The preferred way to do this is to use the cls or iconCls attributes and add the icon via a CSS background image.

◆ Leaf

virtual bool Ext.Net.Node.Leaf
getset

Set to true to indicate that this child can have no children. The expand icon/arrow will then not be rendered for this node. Defaults to: false

◆ NodeID

virtual string Ext.Net.Node.NodeID
getset

The id for this node. If one is not specified, one is generated.

◆ ParentNode

Node Ext.Net.Node.ParentNode
getset

◆ Qtip

virtual string Ext.Net.Node.Qtip
getset

Tooltip text to show on this node.

◆ Qtitle

virtual string Ext.Net.Node.Qtitle
getset

Tooltip title.

◆ Text

virtual string Ext.Net.Node.Text
getset

The text for to show on node label.


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