System.Web.UI.WebControls.TreeNode.DataBound Property

Gets a value that indicates whether the node was created through data binding.

Syntax

[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DefaultValue(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public bool DataBound { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The TreeNode.DataBound property is used to programmatically determine whether the node was created through data binding. Because dynamic and static content cannot be mixed in the same node, this property is commonly used when populating a System.Web.UI.WebControls.TreeView control dynamically to determine whether the node contains static content.

The value of this property is stored in view state.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0