FMX.Calendar.TCalendar.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.Calendar.pas
FMX.Calendar.hpp
FMX.Calendar TCalendar

Description

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

FMX.Calendar.TCalendar.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