ESRI.ArcGIS.ADF.Web.UI.WebControls
ClickBehavior Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > TreeViewPlusNode Class : ClickBehavior Property




The type of behavior for the node: Click (default), Link, Selectable, ExpandCollapse, and None.

Syntax

Visual Basic (Declaration) 
Public Property ClickBehavior As TreeViewPlusNodeClickBehavior
Visual Basic (Usage)Copy Code
Dim instance As TreeViewPlusNode
Dim value As TreeViewPlusNodeClickBehavior
 
instance.ClickBehavior = value
 
value = instance.ClickBehavior
C# 
public TreeViewPlusNodeClickBehavior ClickBehavior {get; set;}

Remarks

The value determines how the node behaves at the client. Valid values and descriptions for the TreeViewPlusNodeClickBehavior enumeration:

  • Click (default): no specific client behavior, but clicking on the node triggers the NodeClicked event.
  • ExpandCollapse: clicking on the node's text causes the node to expand/collapse (normally users must click the expand/collapse button). Triggers the NodeCollapsed event or the NodeExpanded event.
  • Link: the Text for the node displays as a hyperlink (underlined blue). The actual behavior is the same as Click, i.e., triggers a NodeClicked event, so any action must be handled via a server-side method attached to this event. (Note: currently this functionality is broken.)
  • Selectable: hovering over the node changes its background color, and clicking on the node highlights it and triggers the NodeSelected event.
  • None: nodes have no behavior or events, either on the client or on the server.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.