Skybound Rebar

RebarBand Members

RebarBand overview

Public Instance Constructors

RebarBand Overloaded. Initializes a new instance of the RebarBand class.

Public Instance Properties

BandType Gets or sets the type of this band.
Bounds Gets a value that specifies the bounds of the band in the rebar that contains it.
Buttons Gets a collection containing the buttons in the band.
CanCustomize Gets or sets whether a "Customize" menu item is displayed in the toggle menu.
CanToggle Gets or sets whether whether the band is displayed in the toggle menu, allowing the user to show and hide the band at runtime.
ClientRectangle Gets a value that specifies the bounds of the client area of the band.
Container (inherited from Component) Gets the IContainer that contains the Component.
CustomizeAutoSize Gets or sets whether the size of the band is automatically adjusted when the band is customized.
DrawMode Gets or sets whether the buttons on this band are drawn using your own custom code.
FullWidth Gets or sets whether the band is the full width of the rebar.
HasChevron Gets or sets a value that specifies whether a chevron button will be displayed for the band.
HasSizeGrip Gets or sets whether the band has a size grip that allows it to be moved and resized by the user.
Image Gets or sets the Image displayed on the band.
Index Gets the index of this band in the collection of bands for the rebar control that owns it.
IndexOnRow Gets the index of this band in the row that currently contains it.
IsFirst Gets a value that indicates whether this band is positioned as the first band on the rebar.
IsFirstOnRow Gets a value that indicates whether this band is positioned as the first band on the row.
IsLast Gets a value that indicates whether this band is positioned as the last band on the rebar.
IsLastOnRow Gets a value that indicates whether this band is positioned as the last band on the row.
MinimumSize Gets or sets the minimum size of the client area of the band.
Name Gets or sets the name of the band.
NextBand Gets the rebar band that is positioned after this one.
Parent Gets the Rebar control to which this band is assigned.
PreviousBand Gets the rebar band that is positioned before this one.
Row Gets the RebarRow that currently contains this band.
ShowIconOptions Gets or sets whether the customize dialog displays a combo box to choose between small and large icons.
ShowTextOptions Gets or sets whether the customize dialog displays a combo box to choose how text is displayed.
Site (inherited from Component) Gets or sets the ISite of the Component.
SpecifiedWidth Gets or sets the specified width of the band. The actual width of the band may be different from the specified width when it expands to the full width of the rebar control.
State Gets the RebarBandState of the rebar.
Text Gets or sets the text displayed on the band.
TextAlign Gets or sets a value that specifies how text is aligned on buttons.
TextVisible Gets or sets whether the band text is displayed on the band.
UseLargeImages Gets or sets whether large images are drawn on the buttons for this band.
Visible Gets or sets whether the band is visible at runtime.

Public Instance Methods

ApplyTextOptions Sets the text alignment and visibility of the buttons in the band according to a specified RebarTextOptions value.
CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Customize Opens the customize dialog for the current band.
Dispose (inherited from Component)Overloaded. Releases all resources used by the Component.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetAreaAtPoint Returns the type of area at the specified co-ordinates.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetRenderer Gets an instance of RebarBandRenderer that can be used to render this band.
GetTextOptions Returns the RebarTextOptions that represents the text options for the band.
GetType (inherited from Object)Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
MaximizeOverloaded. Resizes the band to its maximum size.
MinimizeOverloaded. Resizes the band to its minimum size.
Refresh Causes this band to be completely repainted.
RestoreOverloaded. Resizes the band to its preferred width.
ToString (inherited from Component) 

Public Instance Events

ButtonClickOccurs when a RebarButton on the RebarBand is clicked.
ButtonSelectOccurs when a RebarButton is selected.
ChevronClickOccurs when the chevron button is clicked.
ClientRectangleChangedOccurs when the value of the ClientRectangle property is changed.
Disposed (inherited from Component)Adds an event handler to listen to the Disposed event on the component.
DrawButtonOccurs when a button on a band needs to be drawn.
MeasureButtonOccurs when a button on a band needs to be measured.
MenuClickOccurs when the menu arrow for a toolbar button is pressed.

Protected Instance Properties

DesignMode (inherited from Component) Gets a value that indicates whether the Component is currently in design mode.
Events (inherited from Component)Gets the list of event handlers that are attached to this Component.

Protected Instance Methods

DisposeOverloaded. Releases any unmanaged resources allocated by this instance.
Finalize (inherited from Component)Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
GetService (inherited from Component) Returns an object that represents a service provided by the Component or by its Container.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OnButtonClickRaises the ButtonClick event.
OnButtonSelectRaises the ButtonSelect event.
OnChevronClickRaises the ChevronClick event.
OnClientRectangleChangedRaises the ClientRectangleChanged event.
OnDrawButtonRaises the DrawButton event.
OnMeasureButtonRaises the MeasureButton event.
OnMenuClickRaises the MenuClick event.

See Also

RebarBand Class | Skybound.Rebar Namespace