Skybound Rebar

RebarBand.RebarButtonCollection Class

Represents a collection that contains the buttons on a rebar band.

For a list of all members of this type, see RebarBand.RebarButtonCollection Members.

System.Object
   System.Collections.CollectionBase
      Skybound.Rebar.RebarBand.RebarButtonCollection

[Visual Basic]
NotInheritable Public Class RebarBand.RebarButtonCollection
    Inherits CollectionBase
[C#]
public sealed class RebarBand.RebarButtonCollection : CollectionBase

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

This class represents the collection of RebarButton objects stored in a RebarBand. You can access the instance of this collection associated with each band by using the Buttons property.

The type of RebarButton objects stored in this collection depends on the BandType property of the band that contains this collection. For ToolBar bands, the collection may contain buttons of any type. For MenuBar bands, the collection may only contain Menu buttons. Furthermore, the BandType property of a RebarBand component cannot be changed unless its button collection is empty.

The Add and Remove methods enable you to add and remove individual buttons from the collection. You can also use the Clear method to remove all the buttons from the collection.

Requirements

Namespace: Skybound.Rebar

Assembly: Skybound.Rebar (in Skybound.Rebar.dll)

See Also

RebarBand.RebarButtonCollection Members | Skybound.Rebar Namespace