System.Web.UI.WebControls.TreeNodeStyle.VerticalPadding Property

Gets or sets the amount of space above and below the text for a node.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

Use the TreeNodeStyle.VerticalPadding property to control the amount of vertical space around the text of the node to which the System.Web.UI.WebControls.TreeNodeStyle class is applied. This space is inserted between the upper edge of the text and the border of the text area, as well as between the lower edge of the text and the border for the text. To control the horizontal spacing, use the TreeNodeStyle.HorizontalPadding 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