ToolbarList Class

From RemObjects Wiki
Jump to: navigation, search

This is a Library topic for Hydra for .NET
This page is generated from external data, please do not update

NamespacesInterfacesClassesEnumsImplements

Overview

Represents the list of the Toolbar or MenuBar items. ToolbarList is used by the Toolbar (MenuBar) class to define the list of owners of the current Toolbar (MenuBar).


Location


constructor

Creates a new instance of the class.


Oxygene:   constructor
C#:   constructor()
VB:   Sub New


Actions

Gets or sets reference to the action list.



Oxygene:   property Actions: ActionList read write
C#:   ActionList Actions { get; set; }
VB:   Property Actions As ActionList


Add

Adds a specified Toolbar element to the list.


Oxygene:   method Add(aToolbar: Toolbar)
C#:   void Add(Toolbar aToolbar)
VB:   Sub Add(aToolbar As Toolbar)


Parameters:

  • aToolbar: Refernce to the toolbar.;


Assign

Assigns a specified ToolbarList object to the current ToolbarList.


Oxygene:   method Assign(Src: Object)
C#:   void Assign(Object Src)
VB:   Sub Assign(Src As Object)


Parameters:

  • Src: Source object.


Clear

Removes all the Toolbar elements from the list.


Oxygene:   method Clear
C#:   void Clear()
VB:   Sub Clear


Count

Gets the number of the Toolbar elements in the list.



Oxygene:   property Count: Int32 read
C#:   Int32 Count { get; }
VB:   Property ReadOnly Count As Int32


GetToolbarAt

Retrieves item at the specififed position.


Oxygene:   method GetToolbarAt(aIndex: Int32): Toolbar
C#:   Toolbar GetToolbarAt(Int32 aIndex)
VB:   Function GetToolbarAt(aIndex As Int32) As Toolbar


Parameters:

  • aIndex: Index of the item.


Insert

Inserts the specified Toolbar element to the specified position.


Oxygene:   method Insert(aIndex: Int32; aToolbar: Toolbar)
C#:   void Insert(Int32 aIndex, Toolbar aToolbar)
VB:   Sub Insert(aIndex As Int32, aToolbar As Toolbar)


Parameters:

  • aIndex: Index of the item.
  • aToolbar: Reference to the item.


Remove

Removes the specified Toolbar element from the list.


Oxygene:   method Remove(aToolbar: Toolbar)
C#:   void Remove(Toolbar aToolbar)
VB:   Sub Remove(aToolbar As Toolbar)


Parameters:

  • aToolbar: Reference to the item.


RemoveAt

Removes a Toolbar element in the specified position.


Oxygene:   method RemoveAt(aIndex: Int32)
C#:   void RemoveAt(Int32 aIndex)
VB:   Sub RemoveAt(aIndex As Int32)


Parameters:

  • aIndex: Index of the item.


Toolbars

Returns reference to the item at the specified position.



Oxygene:   property Toolbars[aIndex: Int32]: Toolbar read write
C#:   Toolbar Toolbars[Int32 aIndex] { get; set; }
VB:   Property Toolbars[aIndex As Int32] As Toolbar

Actions

Gets or sets reference to the action list.



Oxygene:   property Actions: ActionList read write
C#:   ActionList Actions { get; set; }
VB:   Property Actions As ActionList


Count

Gets the number of the Toolbar elements in the list.



Oxygene:   property Count: Int32 read
C#:   Int32 Count { get; }
VB:   Property ReadOnly Count As Int32


Toolbars

Returns reference to the item at the specified position.



Oxygene:   property Toolbars[aIndex: Int32]: Toolbar read write
C#:   Toolbar Toolbars[Int32 aIndex] { get; set; }
VB:   Property Toolbars[aIndex As Int32] As Toolbar

constructor

Creates a new instance of the class.


Oxygene:   constructor
C#:   constructor()
VB:   Sub New


Add

Adds a specified Toolbar element to the list.


Oxygene:   method Add(aToolbar: Toolbar)
C#:   void Add(Toolbar aToolbar)
VB:   Sub Add(aToolbar As Toolbar)


Parameters:

  • aToolbar: Refernce to the toolbar.;


Assign

Assigns a specified ToolbarList object to the current ToolbarList.


Oxygene:   method Assign(Src: Object)
C#:   void Assign(Object Src)
VB:   Sub Assign(Src As Object)


Parameters:

  • Src: Source object.


Clear

Removes all the Toolbar elements from the list.


Oxygene:   method Clear
C#:   void Clear()
VB:   Sub Clear


GetToolbarAt

Retrieves item at the specififed position.


Oxygene:   method GetToolbarAt(aIndex: Int32): Toolbar
C#:   Toolbar GetToolbarAt(Int32 aIndex)
VB:   Function GetToolbarAt(aIndex As Int32) As Toolbar


Parameters:

  • aIndex: Index of the item.


Insert

Inserts the specified Toolbar element to the specified position.


Oxygene:   method Insert(aIndex: Int32; aToolbar: Toolbar)
C#:   void Insert(Int32 aIndex, Toolbar aToolbar)
VB:   Sub Insert(aIndex As Int32, aToolbar As Toolbar)


Parameters:

  • aIndex: Index of the item.
  • aToolbar: Reference to the item.


Remove

Removes the specified Toolbar element from the list.


Oxygene:   method Remove(aToolbar: Toolbar)
C#:   void Remove(Toolbar aToolbar)
VB:   Sub Remove(aToolbar As Toolbar)


Parameters:

  • aToolbar: Reference to the item.


RemoveAt

Removes a Toolbar element in the specified position.


Oxygene:   method RemoveAt(aIndex: Int32)
C#:   void RemoveAt(Int32 aIndex)
VB:   Sub RemoveAt(aIndex As Int32)


Parameters:

  • aIndex: Index of the item.


See Also


Product: RemObjects Hydra
Current version: Hydra 4.0

GlossaryArchitectureArticlesLibrarySamples