C# Class Adf.Web.UI.DropDownTreeView

Inheritance: System.Web.UI.WebControls.WebControl
Mostra file Open project: NLADP/ADF Class Usage Examples

Public Properties

Property Type Description
AutoImage bool
ExpandToSelectedNode bool

Protected Properties

Property Type Description
_button System.Web.UI.WebControls.LinkButton
_defaultText string
_emptyText string
_imageFormat string
_panel System.Web.UI.WebControls.Panel
_tree System.Web.UI.WebControls.TreeView
_type string

Public Methods

Method Description
Bind ( ICollection items, IDomainHierarchy target, bool addEmpty = false ) : void
Clear ( ) : void
DropDownTreeView ( ) : System
GetRootNode ( ) : System.Web.UI.WebControls.TreeNode
GetRootNode ( System.Web.UI.WebControls.TreeNode current ) : System.Web.UI.WebControls.TreeNode
OnItemSelected ( System.Web.UI.WebControls.CommandEventArgs e ) : void

Protected Methods

Method Description
OnInit ( EventArgs e ) : void

Private Methods

Method Description
AddEmpty ( TreeView tree, IDomainHierarchy target, bool addEmpty ) : void
Bind ( System.Web.UI.WebControls.TreeNode parent, IDomainHierarchy item, IDomainHierarchy target ) : void
Bind ( TreeView tree, IDomainHierarchy root, IDomainHierarchy target ) : void
ButtonOnClick ( object sender, EventArgs eventArgs ) : void
ExpandUp ( System.Web.UI.WebControls.TreeNode node ) : void
IsRoot ( IDomainHierarchy target, ICollection items ) : bool
SetImage ( System.Web.UI.WebControls.TreeNode node, IDomainHierarchy item, bool usedefault = false ) : void
TreeOnSelectedNodeChanged ( object sender, EventArgs eventArgs ) : void

Method Details

Bind() public method

public Bind ( ICollection items, IDomainHierarchy target, bool addEmpty = false ) : void
items ICollection
target IDomainHierarchy
addEmpty bool
return void

Clear() public method

public Clear ( ) : void
return void

DropDownTreeView() public method

public DropDownTreeView ( ) : System
return System

GetRootNode() public method

public GetRootNode ( ) : System.Web.UI.WebControls.TreeNode
return System.Web.UI.WebControls.TreeNode

GetRootNode() public method

public GetRootNode ( System.Web.UI.WebControls.TreeNode current ) : System.Web.UI.WebControls.TreeNode
current System.Web.UI.WebControls.TreeNode
return System.Web.UI.WebControls.TreeNode

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void

OnItemSelected() public method

public OnItemSelected ( System.Web.UI.WebControls.CommandEventArgs e ) : void
e System.Web.UI.WebControls.CommandEventArgs
return void

Property Details

AutoImage public_oe property

public bool AutoImage
return bool

ExpandToSelectedNode public_oe property

public bool ExpandToSelectedNode
return bool

_button protected_oe property

protected LinkButton,System.Web.UI.WebControls _button
return System.Web.UI.WebControls.LinkButton

_defaultText protected_oe property

protected string _defaultText
return string

_emptyText protected_oe property

protected string _emptyText
return string

_imageFormat protected_oe property

protected string _imageFormat
return string

_panel protected_oe property

protected Panel,System.Web.UI.WebControls _panel
return System.Web.UI.WebControls.Panel

_tree protected_oe property

protected TreeView,System.Web.UI.WebControls _tree
return System.Web.UI.WebControls.TreeView

_type protected_oe property

protected string _type
return string