HighlightAppearance

Since: BlackBerry 10.2.0

#include <bb/cascades/HighlightAppearance>

Represents a highlight appearance for a CustomListItem.

You can use the HighlightAppearance class to indicate the type of highlighting that you want to use for a CustomListItem when it's selected. For example, the item could use full highlighting (the entire item is highlighted), frame highlighting (only a small frame on top of the item is highlighted), or no highlighting.


Overview

Public Types Index

enum Type

Default 0, Full 1, Frame 2, None 3

Public Types

Type

An enumeration of possible highlight appearances for a CustomListItem.

Since:

BlackBerry 10.2.0

Default 0

Represents the default highlight appearance.

Full 1

Represents the full highlight appearance.

When this highlight appearance is used, the whole item will be highlighted. Note that if the whole item is covered and no transparency is set on the content, the highlight isn't visible.

Since:

BlackBerry 10.2.0

Frame 2

Represents the frame highlight appearance.

Note:

This highlight appearance has a similar effect as HighlightAppearance::Full; it does not highlight only the frame, but the entire item.

Since:

BlackBerry 10.2.0

None 3

Represents no highlight appearance.

When this highlight appearance is used, no highlight is shown. This can be useful when you want to implement and use your own highlight.

Since:

BlackBerry 10.2.0

Last modified: 2014-11-17



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

comments powered by Disqus