ActionBarPlacement

Since: BlackBerry 10.0.0

#include <bb/cascades/ActionBarPlacement>

A class representing action bar placement options.

By default, a page's actions are always displayed in the action menu. By using this class, you can specify whether an action should appear on the action bar as well.

If you specify that an action should appear on the action bar and it doesn't fit, it's ignored.


Overview

Public Types Index

Public Types

Type

Specifies the action bar behavior.

Since:

BlackBerry 10.0.0

Default

The default value, which is typically the same as InOverflow.

InOverflow

Specifies that the action should be placed in the action menu only.

Since:

BlackBerry 10.0.0

OnBar

Specifies that the action should be placed on the action bar.

The action will also be placed in the action menu.

Since:

BlackBerry 10.0.0

Signature

Specifies that the action could be used as a Signature Action.

The action will also be placed in the action menu.

Note:

It is possible to show only one action as a Signature Action on an ActionBar at the same time. If more then one action in an ActionSet has ActionBarPlacement set to Signature then last action in a set with such ActionBarPlacement will be shown as a Signature Action.

Since:

BlackBerry 10.3.0

Last modified: 2014-09-30



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

comments powered by Disqus