Show: Delphi C++
Display Preferences

FMX.Controls.TControl.TouchTargetExpansion

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property TouchTargetExpansion: TBounds read FTouchTargetExpansion write SetTouchTargetExpansion;

C++

__property Fmx::Types::TBounds* TouchTargetExpansion = {read=FTouchTargetExpansion, write=SetTouchTargetExpansion};

Properties

Type Visibility Source Unit Parent
property public
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TControl

Description

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

Personal tools
In Other Languages
Previous Versions
Assistance