SubMenuStyle.VerticalPadding Propriedade

Definição

Obtém ou define a quantidade de espaço acima e abaixo de um submenu.Gets or sets the amount of space above and below a submenu.

public:
 property System::Web::UI::WebControls::Unit VerticalPadding { System::Web::UI::WebControls::Unit get(); void set(System::Web::UI::WebControls::Unit value); };
public System.Web.UI.WebControls.Unit VerticalPadding { get; set; }
member this.VerticalPadding : System.Web.UI.WebControls.Unit with get, set
Public Property VerticalPadding As Unit

Valor da propriedade

Unit

A quantidade de espaço acima e abaixo de um submenu.The amount of space above and below a submenu. O padrão é 0.The default is 0.

Exceções

O valor selecionado é do TypePercentage ou é menor que 0.The selected value is of TypePercentage or is less than 0.

Comentários

Use a VerticalPadding propriedade para controlar a quantidade de espaço vertical entre o texto dos itens de submenu.Use the VerticalPadding property to control the amount of vertical space between the text of submenu items. Para controlar o espaço horizontal em volta do texto do submenu, use a HorizontalPadding propriedade.To control the horizontal space around submenu text, use the HorizontalPadding property.

Aplica-se a

Confira também