Vcl.WinXCtrls.TRelativePanelControlItem.AlignVerticalCenterWith

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AlignVerticalCenterWith: TControl read FAlignVerticalCenterWith write SetAlignVerticalCenterWith;

C++

__property Vcl::Controls::TControl* AlignVerticalCenterWith = {read=FAlignVerticalCenterWith, write=SetAlignVerticalCenterWith};

Properties

Type Visibility Source Unit Parent
property published
Vcl.WinXCtrls.pas
Vcl.WinXCtrls.hpp
Vcl.WinXCtrls TRelativePanelControlItem

Description

The associated Control center-aligns vertically with the sibling control that this property references.

Exceptions

The setter of AlignVerticalCenterWith may raise any of the following exceptions:

Exception Exception.Message Scenarios

ERelativePanelException

Control is not a sibling within RelativePanel

ERelativePanelException

Control cannot be positioned relative to itself

  • You cannot position a control relative to itself.

For more information on how to use the relative panel, see Using the Relative Panel.

See Also