Skip to content

Class: ToolbarItemProxy

ToolbarItemProxy is a developer-facing class that provides access to a toolbar item control for application specific customizations.

Hierarchy

Implements

Summary

Constructors

Properties

Class Properties

Currently none in this class.

Inherited Properties

Accessors

Class Accessors

Currently none in this class.

Inherited Accessors

Methods

Class Methods

Inherited Methods

Constructors

Constructor

+ new ToolbarItemProxy(context: IContext): ToolbarItemProxy

Overrides ControlProxy.constructor

Parameters:

Name Type
context IContext

Returns: ToolbarItemProxy

Methods

getParent

getParent(): IToolbarProxy

This method returns toolbar container control

Implementation of IToolbarItemProxy.getParent Overrides ControlProxy.getParent

Returns: IToolbarProxy

The control of the toolbar container


getToolbarControls()

getToolbarControls(): IControlProxy[]

This method returns the top-level controls for this container

Returns: IControlProxy[]

The controls for this container

Deprecated

  • use new ToolbarProxy API: getParent().getToolbarControls()

Implementation of IToolbarItemProxy.getToolbarControls


getVisible

getVisible(): boolean

Implementation of IToolbarItemProxy.getVisible

Returns: boolean

true/false


setVisible

setVisible(value: boolean, redraw?: boolean = true): ToolbarItemProxy

Sets the toolbar item's visible state with / without redraw

Implementation of IToolbarItemProxy.setVisible Overrides ControlProxy.setVisible

Parameters:

Name Type Description
value boolean visible state
redraw? boolean = true true if redraw after setting the visible state

Returns: ToolbarItemProxy