TextFormat

Since: BlackBerry 10.0.0

#include <bb/cascades/TextFormat>

Defines how a text control should interpret its provided string.


Overview

Public Types Index

enum Type

Plain 1, Html 2, Auto 3

Public Types

Type

The available formats.

Since:

BlackBerry 10.0.0

Plain 1

The provided string will be interpreted as a regular text string.

Html 2

The provided string will be interpreted as HTML.

Since:

BlackBerry 10.0.0

Auto 3

If the provided string is valid HTML, the string will be interpreted as HTML.

If the string is not valid HTML, the string is interpreted as plain text.

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