OverlapTouchPolicy

Since: BlackBerry 10.0.0

#include <bb/cascades/OverlapTouchPolicy>

Specifies whether overlapped nodes receive touch interaction.

Setting the overlap touch policy to allow does not guarantee that touch events reach down to the overlapped node. The behavior depends on the nature of the overlapping node. If it is an interactive control, such as a Slider or Button, the internal event handling may cause the overlapping control to consume events, which prevents them from reaching the overlapped control. Setting the overlap touch policy to allow is mostly suited for non-interactive controls without internal event handling, such as a Container, a Label, or an Image.


Overview

Public Types Index

enum Type

Deny, Allow

Public Types

Type

Enumeration for specifying whether overlapped nodes should be allowed to receive touch interaction.

Since:

BlackBerry 10.0.0

Deny

Prevent overlapped nodes from receiving touch interaction.

Allow

Allow overlapped nodes to receive touch interaction.

Since:

BlackBerry 10.0.0

Last modified: 2014-09-30



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus