System.Web.UI.WebControls.SubMenuStyle.HorizontalPadding Property

Gets or sets the amount of space to the left and right of a submenu.

Syntax

[System.ComponentModel.NotifyParentProperty(true)]
[System.ComponentModel.DefaultValue(typeof(System.Web.UI.WebControls.Unit), "")]
public Unit HorizontalPadding { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the SubMenuStyle.HorizontalPadding property to control the amount of space between the text of the submenu item and the side of the containing menu. To control the vertical space between submenu items, use the SubMenuStyle.VerticalPadding property.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0