FMX.ScrollBox.TPresentedFramedVertScrollBox.TouchTargetExpansion

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property TouchTargetExpansion: TBounds read FTouchTargetExpansion write SetTouchTargetExpansion;

C++

__property TouchTargetExpansion;

Properties

Type Visibility Source Unit Parent
property published
FMX.ScrollBox.pas
FMX.ScrollBox.hpp
FMX.ScrollBox TPresentedFramedVertScrollBox

Description

Set of optional pixel values you can specify to expand the touch target of a FireMonkey styled control.

FMX.ScrollBox.TPresentedFramedVertScrollBox.TouchTargetExpansion inherits from FMX.Controls.TControl.TouchTargetExpansion. All content below this line refers to FMX.Controls.TControl.TouchTargetExpansion.

Set of optional pixel values you can specify to expand the touch target of a FireMonkey styled control.

FMX.Controls.TControl.TouchTargetExpansion is a published property of all FireMonkey styled controls that support Touch.

Defined as an FMX.Types.TBounds, TouchTargetExpansion takes four optional parameters representing the expansion of the four sides of the control in pixels (Bottom, Left, Right, Top). Each parameter specifies the size of an additional screen area that is to be treated as part of the touch target of the control.

The following figure illustrates how TouchTargetExpansion expands the touch target for a FireMonkey control:

TouchTarget.png

See Also