System.Web.UI.WebControls Namespace TreeNode Class
.NET Framework version 2.0
Returns a value indicating whether the node was created through data binding.
Script |
[ Boolean variable = ] TreeNode.DataBound |
This property can only be used programmatically; it cannot be set when declaring the control.
This property returns only a boolean value: true if the node was created through data binding; otherwise, false.
The property is read only with no default value.
Use the DataBound property 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 TreeView control dynamically to determine whether the node contains static content.
TreeNode Members