TableStyle.HorizontalAlign Propriedade

Definição

Obtém ou define o alinhamento horizontal da tabela dentro de seu contêiner.Gets or sets the horizontal alignment of the table within its container.

public:
 virtual property System::Web::UI::WebControls::HorizontalAlign HorizontalAlign { System::Web::UI::WebControls::HorizontalAlign get(); void set(System::Web::UI::WebControls::HorizontalAlign value); };
[System.ComponentModel.Bindable(true)]
public virtual System.Web.UI.WebControls.HorizontalAlign HorizontalAlign { get; set; }
public virtual System.Web.UI.WebControls.HorizontalAlign HorizontalAlign { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.HorizontalAlign : System.Web.UI.WebControls.HorizontalAlign with get, set
member this.HorizontalAlign : System.Web.UI.WebControls.HorizontalAlign with get, set
Public Overridable Property HorizontalAlign As HorizontalAlign

Valor da propriedade

HorizontalAlign

Um dos valores de enumeração HorizontalAlign.One of the HorizontalAlign enumeration values. O padrão é NotSet.The default is NotSet.

Atributos

Exceções

O alinhamento horizontal especificado não é um dos valores de enumeração HorizontalAlign.The specified horizontal alignment is not one of the HorizontalAlign enumeration values.

Comentários

Use a HorizontalAlign propriedade para especificar o alinhamento horizontal do controle de lista de dados dentro de seu contêiner.Use the HorizontalAlign property to specify the horizontal alignment of the data list control within its container. Essa propriedade é definida com um dos HorizontalAlign valores de enumeração.This property is set with one of the HorizontalAlign enumeration values. A tabela a seguir lista os valores possíveis.The following table lists the possible values.

ValorValue DescriçãoDescription
NotSet O alinhamento horizontal não foi definido.The horizontal alignment is not set.
Left A tabela é justificada à esquerda dentro de seu contêiner.The table is left justified within its container.
Center A tabela é centralizada dentro de seu contêiner.The table is centered within its container.
Right A tabela é justificada à direita em seu contêiner.The table is right justified within its container.

O valor dessa propriedade é armazenado em estado de exibição.The value of this property is stored in view state.

Aplica-se a

Confira também