Vcl.ExtCtrls.TCustomPanel.VerticalAlignment
Delphi
property VerticalAlignment: TVerticalAlignment read FVerticalAlignment write SetVerticalAlignment default taVerticalCenter;
C++
__property System::Classes::TVerticalAlignment VerticalAlignment = {read=FVerticalAlignment, write=SetVerticalAlignment, default=2};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | protected | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | TCustomPanel |
Description
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.