Vcl.ExtCtrls.TPanel.VerticalAlignment

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property VerticalAlignment: TVerticalAlignment read FVerticalAlignment write SetVerticalAlignment default 2;

C++

__property VerticalAlignment = {default=2};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TPanel

Description

Sets the vertical position of the caption.

Vcl.ExtCtrls.TPanel.VerticalAlignment inherits from Vcl.ExtCtrls.TCustomPanel.VerticalAlignment. All content below this line refers to Vcl.ExtCtrls.TCustomPanel.VerticalAlignment.

Sets the vertical position of the caption.

Use the VerticalAlignment property to control the position of the caption within the panel. Choose one of the following values.



Value Description

taAlignBottom

The caption displays at the bottom of the panel.

taAlignTop

The caption displays at the top of the panel.

taVerticalCenter

The caption displays at the center of the panel.



Note: Use the Alignment property to control the horizontal position of the caption.

See Also