Vcl.WinXCtrls.TRelativePanelControlItem.AlignHorizontalCenterWith
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 |
---|---|---|
Control is not a sibling within RelativePanel |
| |
Control cannot be positioned relative to itself |
|
For more information on how to use the relative panel, see Using the Relative Panel.
See Also
- Vcl.WinXCtrls.TRelativePanelControlItem.Above
- Vcl.WinXCtrls.TRelativePanelControlItem.AlignBottomWith
- Vcl.WinXCtrls.TRelativePanelControlItem.AlignBottomWithPanel
- Vcl.WinXCtrls.TRelativePanelControlItem.AlignHorizontalCenterWithPanel
- Vcl.WinXCtrls.TRelativePanelControlItem.AlignLeftWith
- Vcl.WinXCtrls.TRelativePanelControlItem.AlignLeftWithPanel
- Vcl.WinXCtrls.TRelativePanelControlItem.AlignRightWith
- Vcl.WinXCtrls.TRelativePanelControlItem.AlignRightWithPanel
- Vcl.WinXCtrls.TRelativePanelControlItem.AlignTopWith
- Vcl.WinXCtrls.TRelativePanelControlItem.AlignTopWithPanel
- Vcl.WinXCtrls.TRelativePanelControlItem.AlignVerticalCenterWith
- Vcl.WinXCtrls.TRelativePanelControlItem.AlignVerticalCenterWithPanel
- Vcl.WinXCtrls.TRelativePanelControlItem.Below
- Vcl.WinXCtrls.TRelativePanelControlItem.LeftOf
- Vcl.WinXCtrls.TRelativePanelControlItem.RightOf