Vcl.WinXCtrls.TRelativePanelControlItem.AlignTopWith
Delphi
property AlignTopWith: TControl read FAlignTopWith write SetAlignTopWith;
C++
__property Vcl::Controls::TControl* AlignTopWith = {read=FAlignTopWith, write=SetAlignTopWith};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.WinXCtrls.pas Vcl.WinXCtrls.hpp |
Vcl.WinXCtrls | TRelativePanelControlItem |
Description
The top of the associated Control aligns with the top of the sibling control that this property references.
Exceptions
The setter of AlignTopWith 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.AlignHorizontalCenterWith
- Vcl.WinXCtrls.TRelativePanelControlItem.AlignHorizontalCenterWithPanel
- Vcl.WinXCtrls.TRelativePanelControlItem.AlignLeftWith
- Vcl.WinXCtrls.TRelativePanelControlItem.AlignLeftWithPanel
- Vcl.WinXCtrls.TRelativePanelControlItem.AlignRightWith
- Vcl.WinXCtrls.TRelativePanelControlItem.AlignRightWithPanel
- Vcl.WinXCtrls.TRelativePanelControlItem.AlignTopWithPanel
- Vcl.WinXCtrls.TRelativePanelControlItem.AlignVerticalCenterWith
- Vcl.WinXCtrls.TRelativePanelControlItem.AlignVerticalCenterWithPanel
- Vcl.WinXCtrls.TRelativePanelControlItem.Below
- Vcl.WinXCtrls.TRelativePanelControlItem.LeftOf
- Vcl.WinXCtrls.TRelativePanelControlItem.RightOf