API:Vcl.ActnMan.TCustomActionControl.Margins
Delphi
property Margins: TRect read FMargins write SetMargins;
C++
__property System::Types::TRect Margins = {read=FMargins, write=SetMargins};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.ActnMan.pas Vcl.ActnMan.hpp |
Vcl.ActnMan | TCustomActionControl |
Description
Specifies the margins of the control.
Vcl.ActnMan.TCustomActionControl.Margins inherits from Vcl.Controls.TControl.Margins. All content below this line refers to Vcl.Controls.TControl.Margins.
Specifies the margins of the control.
Use the Margins property to set the margins of the control.
If AlignWithMargins is true, then the Margins property of the control governs the spacing relative to other controls that are aligned with this one. The controls are not allowed to be closer than the spacing specified in Margins.
Note: The Margins you set for the control have effect only when AlignWithMargins is set to true and Align is not set to alNone.
See Also
Code Examples