TableItemStyle.HorizontalAlign Propriedade

Definição

Obtém ou define o alinhamento horizontal do conteúdo em uma célula.Gets or sets the horizontal alignment of the contents in a cell.

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 O conteúdo de uma célula é justificado à esquerda dentro da célula.The contents of a cell are left justified within the cell.
Center O conteúdo de uma célula é centralizado dentro da célula.The contents of a cell are centered within the cell.
Right O conteúdo de uma célula é justificado à direita na célula.The contents of a cell are right justified within the cell.

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