TextAreaScrollMode

Since: BlackBerry 10.0.0

#include <bb/cascades/TextAreaScrollMode>

Represents a scoll mode for the TextArea.

The TextAreaScrollMode determines how the TextArea behaves when scrolling in the vertical direction.


Overview

Public Types Index

enum Type

Default = 0, Elastic = 1, Stiff = 2

Public Types

Type

Scroll modes for a TextArea.

Since:

BlackBerry 10.0.0

Default = 0

The platform decides scrolling behavior based on content and context.

Typically this will behave according to the standard scroll mode.

Since:

BlackBerry 10.0.0

Elastic = 1

Elastic scrolling.

Trying to scroll outside the content area will be result in an elastic behaviour.

Since:

BlackBerry 10.0.0

Stiff = 2

Stiff scrolling.

Trying to scroll outside the content area will halt the scrolling resulting in a stiff behaviour.

Since:

BlackBerry 10.0.0

Last modified: 2014-03-13

comments powered by Disqus