FMX.ExtCtrls.TDropTarget.Padding
Delphi
property Padding: TBounds read GetPadding write SetPadding;
C++
__property Padding;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FMX.ExtCtrls.pas FMX.ExtCtrls.hpp |
FMX.ExtCtrls | TDropTarget |
Description
Specifies the control's padding.
FMX.ExtCtrls.TDropTarget.Padding inherits from FMX.Controls.TControl.Padding. All content below this line refers to FMX.Controls.TControl.Padding.
Specifies the control's padding.
The Padding of a control specifies how close, in pixels, the control's children can come to each of its edges (top, left, bottom, right). Padding adds space to the inner side of the control.
The control's children are repositioned and resized, if necessary, to maintain the Padding.
The following image shows how Padding and Margins properties affect alignment, position, and size of controls.