System.Web.UI.WebControls.TreeNodeStyle.HorizontalPadding Property

Gets or sets the amount of space to the left and right of the text in the node.

Syntax

[System.ComponentModel.NotifyParentProperty(true)]
[System.ComponentModel.DefaultValue(0)]
public Unit HorizontalPadding { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the TreeNodeStyle.HorizontalPadding property to control the amount of horizontal space around the text of the node to which the System.Web.UI.WebControls.TreeNodeStyle is applied. This space is inserted between the left edge of the text and the border of the text area, as well as between the right edge of the text and the border for the text. To control the vertical spacing, use the TreeNodeStyle.VerticalPadding property.

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