Vcl.WinXCtrls.TRelativePanelControlItem.AlignHorizontalCenterWith

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AlignHorizontalCenterWith: TControl read FAlignHorizontalCenterWith write SetAlignHorizontalCenterWith;

C++

__property Vcl::Controls::TControl* AlignHorizontalCenterWith = {read=FAlignHorizontalCenterWith, write=SetAlignHorizontalCenterWith};

Properties

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

Description

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

Exceptions

The setter of AlignHorizontalCenterWith 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