Interface: IToolbarProxy¶
A designer-facing interface that provides access to a toolbar control.
It is passed to rules to provide access to a toolbar control for application specific customizations.
In addition it provides access to the IControlProxy interface.
Hierarchy¶
-
IToolbarProxy
Implemented by¶
Summary¶
Properties¶
Class Properties¶
Currently none in this class.
Inherited Properties¶
Methods¶
Class Methods¶
Inherited Methods¶
Methods¶
getToolbarControls¶
▸ getToolbarControls(): ToolBarItem[]
This method returns the NativeScript objects of Toolbar Items for this container
Returns: ToolBarItem[]
The controls for this container
getToolbarItem¶
▸ getToolbarItem(itemName
: string): IToolbarItemProxy
Parameters:
Name | Type | Description |
---|---|---|
itemName |
string | takes in _Name property of the toolbar item |
Returns: IToolbarItemProxy
returns the ToolbarItemProxy instance of the item by the name
getToolbarItems¶
▸ getToolbarItems(): IToolbarItemProxy[]
This method returns the top-level controls of Toolbar Items for this container
Returns: IToolbarItemProxy[]
The controls for this container
getVisible¶
▸ getVisible(): boolean
Returns: boolean
true/false
isContainer¶
▸ isContainer(): boolean
Overrides IControlProxy.isContainer
Determine if the toolbar control is a container.
Returns: boolean
setVisible¶
▸ setVisible(value
: boolean, redraw
: boolean): any
Overrides IControlProxy.setVisible
Sets the control's visible state with / without redraw
Parameters:
Name | Type | Description |
---|---|---|
value |
boolean | visible state |
redraw |
boolean | true if redraw after setting the visible state |
Returns: any