ListView.Height Propriedade

Definição

Substitui a propriedade Height.Overrides the Height property. Não há suporte para a configuração dessa propriedade no controle ListView.Setting this property is not supported by the ListView control.

public:
 virtual property System::Web::UI::WebControls::Unit Height { System::Web::UI::WebControls::Unit get(); void set(System::Web::UI::WebControls::Unit value); };
[System.ComponentModel.Browsable(false)]
public override System.Web.UI.WebControls.Unit Height { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.Height : System.Web.UI.WebControls.Unit with get, set
Public Overrides Property Height As Unit

Valor da propriedade

Unit

Empty, o que indica que a propriedade não está definida.Empty, which indicates that the property is not set.

Atributos

Exceções

Foi feita uma tentativa de definir a propriedade Height.An attempt was made to set the Height property.

Comentários

As propriedades de estilo não são suportadas pelo ListView controle.Style properties are not supported by the ListView control. Se você tentar definir a Height propriedade, uma NotSupportedException exceção será lançada.If you try to set the Height property, a NotSupportedException exception is thrown. Se você obter a propriedade, ela retornará o valor padrão da propriedade correspondente da classe base.If you get the property, it returns the default value of the corresponding property of the base class.

Para estilizar o ListView controle, você deve estilizar os controles dentro dos ListView modelos usando classes CSS (folhas de estilos em cascata) ou elementos de estilo embutidos.To style the ListView control, you must style the controls inside the ListView templates by using cascading style sheets (CSS) classes or inline style elements.

Aplica-se a