API:FMX.StdCtrls.TExpanderButton.Align

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Align: TAlignLayout read FAlign write SetAlign default 0;

C++

__property Align = {default=0};

Properties

Type Visibility Source Unit Parent
property published
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls TExpanderButton

Description

Specifies the alignment options (top, left, client, and so on) of this control.

FMX.StdCtrls.TExpanderButton.Align inherits from FMX.Controls.TControl.Align. All content below this line refers to FMX.Controls.TControl.Align.

Specifies the alignment options (top, left, client, and so on) of this control.

Use Align to automatically set the alignment of the current control. Setting Align to a value different than None can affect the position, size (height and width), and anchors of the control. By default, Align is set to None.

Descendants of TControl typically set the visibility and value for the Align property. For example, for TToolBar, Align defaults to TAlignLayout.Top.

To see the possible values for Align and their visible effects over the control, see FMX.Types.TAlignLayout.

Controls that have the Align or Anchors properties set can use a Scale that is different from the default (1,1), so that controls align together even when they have a custom scale.

See Also

Code Examples