TreeNodeBinding Members

Defines the relationship between a data item and the node it is binding to in a TreeView control.

The following tables list the members exposed by the TreeNodeBinding type.

  Name Description
Public method TreeNodeBinding Initializes a new instance of the TreeNodeBinding class.
Top

  Name Description
Public property DataMember Gets or sets the value to match against a IHierarchyData.Type property for a data item to determine whether to apply the tree node binding.
Public property Depth Gets or sets the node depth at which the TreeNodeBinding object is applied.
Public property FormatString Gets or sets the string that specifies the display format for the text of a node to which the TreeNodeBinding object is applied.
Public property ImageToolTip Gets or sets the ToolTip text for the image that is displayed next to a node to which the TreeNodeBinding object is applied.
Public property ImageToolTipField Gets or sets the name of the field from the data source to bind to the ImageToolTip property of a TreeNode object to which the TreeNodeBinding object is applied.
Public property ImageUrl Gets or sets the URL to an image that is displayed next to a node to which the TreeNodeBinding object is applied.
Public property ImageUrlField Gets or sets the name of the field from the data source to bind to the ImageUrl property of a TreeNode object to which the TreeNodeBinding object is applied.
Public property NavigateUrl Gets or sets the URL to link to when a node to which the TreeNodeBinding object is applied is clicked.
Public property NavigateUrlField Gets or sets the name of the field from the data source to bind to the NavigateUrl property of a TreeNode object to which the TreeNodeBinding object is applied.
Public property PopulateOnDemand Gets or sets a value indicating whether the node to which the TreeNodeBinding object is applied is populated dynamically.
Public property SelectAction Gets or sets the event or events to raise when a node to which the TreeNodeBinding object is applied is selected.
Public property ShowCheckBox Gets or sets a value indicating whether a check box is displayed next to a node to which the TreeNodeBinding object is applied.
Public property Target Gets or sets the target window or frame in which to display the Web page content that is associated with a node to which the TreeNodeBinding object is applied.
Public property TargetField Gets or sets the name of the field from the data source to bind to the Target property of a TreeNode object to which the TreeNodeBinding object is applied.
Public property Text Gets or sets the text that is displayed for the node to which the TreeNodeBinding object is applied.
Public property TextField Gets or sets the name of the field from the data source to bind to the Text property of a TreeNode object to which the TreeNodeBinding object is applied.
Public property ToolTip Gets or sets the ToolTip text for a node to which the TreeNodeBinding object is applied.
Public property ToolTipField Gets or sets the name of the field from the data source to bind to the ToolTip property of a TreeNode object to which the TreeNodeBinding object is applied.
Public property Value Gets or sets a displayed value that is not displayed but is used to store any additional data about a node to which the TreeNodeBinding object is applied, such as data used for handling postback events.
Public property ValueField Gets or sets the name of the field from the data source to bind to the Value property of a TreeNode object to which the TreeNodeBinding object is applied.
Top

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString Overridden. Returns the DataMember property.
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

  Name Description
Explicit interface implementation Method System.ICloneable.Clone Creates a copy of the TreeNodeBinding object.
Explicit interface implementation Method System.Web.UI.IStateManager.LoadViewState Loads the previously saved view state for the node.
Explicit interface implementation Method System.Web.UI.IStateManager.SaveViewState Saves the view state changes to an object.
Explicit interface implementation Method System.Web.UI.IStateManager.TrackViewState Instructs the TreeNode object to track changes to its view state.
Explicit interface implementation Property System.Web.UI.IDataSourceViewSchemaAccessor.DataSourceViewSchema For a description of this member, see IDataSourceViewSchemaAccessor.DataSourceViewSchema.
Explicit interface implementation Property System.Web.UI.IStateManager.IsTrackingViewState For a description of this member, see IStateManager.IsTrackingViewState.
Top

Community Additions

ADD
Show: