BCGControlBar Library for .NET
DockBarRow Class Members
Properties  Methods  Events


The following tables list the members exposed by DockBarRow.

Public Constructors
 NameDescription
Public ConstructorDockBarRow ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyCommandBarCountSpecifies the amount of the command bars on the dockbar row.  
Public PropertyCommandBarsRepresents a collection of the command bars located on the DockBarRow.  
Public PropertyCurrentDockEdgeReturns the edge on the host form where the current DockBarRow is located.  
Public PropertyHeightSpecifies the height of the dock edge.  
Public PropertyIsExclusiveSpecifies if the command bar is located alone on the DockBarRow and fills the full DockBarRow.  
Public PropertyIsHorizontalSpecifies if the DockBarRow is located  horizontally.  
Public PropertyParentDockBarSpecifies the parent dock bar on the DockBarRow.  
Public PropertyRowIndexSpecifies the index of the DockBarRow in DockBarRows collection and its position on the DockBar.  
Public PropertyRowSizeGets the width and height of the row.  
Public PropertyVisibleSpecifies the visibility of the dock bar row.  
Top
Public Methods
 NameDescription
Public MethodAddCommandBarLocates a specified command bar to the DockBarRow and recalculates its location.  
Public MethodAddTrackedCommandBarLocates a tracked command bar to the DockBarRow and calculates its location.  
Public MethodAdjustLayoutSpecifies the size and the location of the command bars on the dock bar row.  
Public MethodAlignToVirtualRects  
Public MethodDisposeOverloaded.   
Public MethodDoesContainCommandBarIndicates if the DockBarRow contains the specified command bar.  
Public MethodEndTrackEnds the dragging of the command bar.  
Public MethodFixUpDockInfoRecreates DockBarRow  and related Command Bars from serialization info.  
Public MethodGetAvailableSpaceOverloaded. Specifies the space free out of commandbars. If the dockbar is located horizontally it will be equal the difference between the width of the parent dock bar and the summary width of all command bars without the width of ignored bar. If the dockbar is located vertically the returned value will be equal the difference between the height the parent dock bar and the summary height of all command bars without the height of ignored bar .  
Public MethodGetObjectDataGets serialization information with all of the data needed to recreate an instance of this DockBarRow.  
Public MethodInit

Initializes the DockBarRow object.

 
Public MethodInitTrackInitializes the tracked command bar and its bounds.  
Public MethodMove

Moves all command bars from the row down if the dock bar row is located horizontally or  moves right if the dock bar row is located vertically to the specified interval.

 
Public MethodOnCustomizeModeChanged  
Public MethodRemoveCommandBarRemoves the specified command bar from the DockBarRow.  
Public MethodRemoveEvents

Removes event handlers associated with the dock bar row and its related command bars.

 
Public MethodRepositionInListCalled by the framework  to changes the position of the command bar within the dock bar row. Changes the index of the specified command bar in the command bars' collection.  
Public MethodSetInitialOffsetSets the left offset for the CommandBar on the DockBarRow if it is located horizontally and the top offset if the CommandBar is located vertically.  
Public MethodSortCommandBarsSorts command bars located within the DockBarRow by its left offset increasing.  
Public MethodTrackCommandBarTracks the command bar to the specified position.  
Top
Protected Methods
Public Events
 NameDescription
Public EventHeightChangedOccurs when the height of the dockbar row is changed.  
Public EventVisibleChangedOccurs when the visibility of the dockbar row is changed.  
Top
See Also

Reference

DockBarRow Class
BCGSoft.ControlBars Namespace

Send Feedback