Partager via


INDENT Attribute | Indent Property

Sets or retrieves the number of pixels to indent children in relation to the parent node.

Syntax

Visual Basic  Public  Property Indent As int
C# public  int Indent { get; set; }
Managed C++ public:  __property int get_Indent();
public:  __property void set_Indent(int);
JScript public   function get Indent() : int;
public   function set Indent(int);

Possible Values

iIndent int that specifies or receives the number of pixels to indent children in relation to the parent node.
19Default. The number of pixels to indent children in relation to the parent node.

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

Remarks

When the ShowLines property is set to true, the Indent property has no effect on the tree.

Applies To

TREEVIEW

See Also

Internet Explorer WebControls, About the TreeView WebControl