Share via


CHECKED Attribute | Checked Property

Sets or retrieves a value that indicates whether or not the node is checked.

Syntax

Visual Basic  Public  Property Checked As bool
C# public  bool Checked { get; set; }
Managed C++ public:  __property bool get_Checked();
public:  __property void set_Checked(bool);
JScript public   function get Checked() : bool;
public   function set Checked(bool);

Possible Values

bChecked bool that specifies or receives the state of a node.
falseDefault. The node is not checked.
trueThe node is checked.

The property is read/write. The property has a default value of false.

Applies To

TREENODE

See Also

Internet Explorer WebControls, About the TreeView WebControl