TextInputMasking

Since: BlackBerry 10.0.0

#include <bb/cascades/TextInputMasking>

A class representing different input masking modes.

This class represents different input masking modes. You can use input masking to prevent characters that are typed in a text field from appearing. When input masking is enabled, typed characters appear as asterisks (*).

By default, users can toggle input masking on or off by using a toggle box inside the text control. You can prevent this by using either MaskedNotTogglable or NotMaskedNotTogglable.


Overview

Public Types Index

Public Types

Type

Specifies different masking modes.

Since:

BlackBerry 10.0.0

Default = 0

The default masking mode.

Masked = 1

Indicates that masking is turned on.

Since:

BlackBerry 10.0.0

NotMasked = 2

Indicates that masking is turned off.

Since:

BlackBerry 10.0.0

MaskedNotTogglable = 3

Indicates that masking is turned on and that users can't toggle the masking mode.

Since:

BlackBerry 10.0.0

NotMaskedNotTogglable = 4

Indicates that masking is turned off and that users can't toggle the masking mode.

Since:

BlackBerry 10.0.0

Last modified: 2014-06-24



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

comments powered by Disqus