BCGControlBar Library for .NET
BCGSoft.Controls.Shared Namespace
Inheritance Hierarchy
Classes
 ClassDescription
ClassAboutBox  
ClassAutomaticButton

Inherits from CommandButton of namespace  BCGSoft.Controls.Shared. Represents a button on the color panel which allows to select the color by default. In default constructor of  Automatic button the checkable, custom layout button will be created. Its Visual Style is OfficeXP, default returned color value  is an empty color .

ClassCalcCommandObjectSizeEventArgs Provides data for CalcCommandObjectSize event. This class is used on calculating the size of the ToolBarGalleryButton and GalleryControl.
ClassCalendarBar Implements a calendar bar control.
ClassColorObject

Inherits from CommandObject of namespace  BCGSoft.Controls.Shared

Represents a button on the color panel with a sample of the color to select. The color related to the ColorObject you can set or get by the property ColorValue.  The property IsCustomColor specifies if the color value represents a custom color.
ClassColorPanel

Inherits from CommandPanel Class of namespace  BCGSoft.Controls.Shared.  Represents a container, where buttons for choosing color are placed. They are buttons with the samples of colors, “Other color” button and “Automatic” button. The object of ColorPanel class is embedded to the PopupMenuBar of the ColorButton on the toolbar and used in the ImageEditor class to display available colors.

ClassCommandButton

Inherits from CommandObject of namespace  BCGSoft.Controls.Shared. Represents a command button control that can be drawn on the command bar. The Command Bar class has a set of properties to specify the text and image on the command button.

ClassCommandObject

Inherits from Component of namespace  System.ComponentModel. Implements interfaces ICommandObject, INotifyPropertyChanged.
Represents a base class for the Command button. Has a set of properties related to the state of the command object. 

ClassCommandPanel

Inherits from Control class of Windows.Forms namespace. Used to group collections of command buttons. Serves as a base class for the CommandBar class.

The buttons are located on the CommandWithEvent collection which we can get an access by the property ItemCollection to. The class contains some properties related to the location, size, appearance and selection  of the command buttons.
Method AdjustLayout allows to rearrange buttons on the command panel according to its size and the size and location of its buttons. User can get a pointer to ICommandObject interface  by methods ObjectFromID and ObjectFromPoint.
CommandPanel
class has some event handlers related to mouse events,  changing the state and size of the command object, in which the appearance of the command object can be changed and any events can be raised.
ClassDesktopAlert Represents a component located on the toolbox to manage specified desktop alert window in the application.  This component creates a control of type DesktopAlertControl which is a special form displaying some information. Its behavior is equal to the popup windows in MS Outlook. It allows to generate popup windows with specified size and location. You can set different types of animation during the appearance of popup window. It is possible to add link, message and picture to its surface.  The size of the caption, its icon and text can also be specified. You can set different visual styles for the popup window. To display custom content for the popup window you can add a panel as an embedded control.
It's possible to show the "default" dialog containing an icon, a message text (label) and a link. You can handle clicks on the link and perform some actions upon the click. Another option is to create the dialog from application resources and put any controls you want.
ClassDesktopAlertControl

Implements the functionality of a modeless dialog which appears on the screen when the method ShowPopupAlert  of the DesktopAlert component is called.
The window may be transparent, may appear with some animation effects and may disappear with a delay or may be dismissed by click on a close button.

Usually you don't need to access this control directly. Its behavior should be controlled using the DesktopAlert component.

ClassDrawCalendarElementEventArgs  
ClassDrawCommandObjectEventArgs

Inherits HandledEventArgs class of System.ComponentModel namespace.  

Provides data  for the DrawCommandObject event of the CommandButton.  

ClassExecuteCommandEventArgs Provides data  for the ExecuteCommandObject event of the CommandButton.
ClassMenuStripRendererEx  
ClassOtherButton

Inherits from CommandButton of namespace  BCGSoft.Controls.Shared. Represents a button on the color panel which allows to select a color not displayed on the color panel.

ClassPanelEx Specifies a panel that is an embedded control in the docking pane by default.
ClassPopupBase

Inherits Form class of the System.Windows namespace. Implements interface System.Windows.Forms IMessageFilter.
Represents a base class for different popup controls. This class contains the set of methods and  properties related to the margins, location and size of the PopupBase. 

ClassProgressBarControl Implements a progress bar control.
ClassSimplePopup

Inherits Form class of the System.Windows namespace.

 Represents a simple popup form. This form has popup windows style and its flicker cause by redrawing of the control is reduced.

ClassSplitContainerCell Represents a panel with movable bar (splitter).
ClassSplitContainerCellCollection Specifies the collection of the cells located within the current SplitContainerCell.
ClassSplitContainerEx Represents a control consisting of movable bars (splitters) that divide a container's display area into nested collection of resizable panels.
ClassToolTipData Specifies a set of data for ToolTip to display. In this class such properties for ToolTip are defined as Text, Image, Description and visibility of the ToolTip. These properties are used on redrawing the instance of the TooltipEx.
ClassToolTipEx Represents a small rectangular pop-up window that displays a brief description of a control's purpose.
ClassToolTipParams Provides BCGSoft ToolTip data for ToolTipEx component. This class defines the colors to draw tooltip window and its interior, its content and a shape.
ClassTrackBarButton Specifies "zoom"  buttons and slider (Thumb) to draw on the TrackBarEx.
ClassTrackBarEx Represents extended track bar control with two (plus and minus) buttons and slider (thumb). The track bar control can work in component mode and be transparent.
Interfaces
 InterfaceDescription
InterfaceICommandObject This interface must be implemented by any command object.
InterfaceIScreenRectProvider  
InterfaceIToolTipInfoProvider  
Delegates
 DelegateDescription
DelegateCalcCommandObjectSizeEventHandler Represents the method that will handle the CalcCommandObjectSize event.
DelegateDesktopAlertVisibilityChangedHandler  
DelegateDrawCalendarBackgroundEventHandler  
DelegateDrawCalendarCaptionEventHandler  
DelegateDrawCalendarDateEventHandler  
DelegateDrawCalendarEventHandler  
DelegateDrawCalendarWeekDayEventHandler  
DelegateDrawCalendarWeekNumberEventHandler  
DelegateDrawCommandObjectEventHandler

Represents the method that will handle the DrawCommandObject event raised when a command object is drawn.

DelegateExecuteCommandEventHandler

Represents the method that will handle the ExecuteCommand of the CommandObject. The ExecuteCommand event occurs on mouse up event of the command panel and used for execution of some commands associated with command button.

Enumerations
 EnumerationDescription
EnumerationANIMATION_TYPE  
EnumerationCalcCellExtArea Defines how cell borders and padding are calculated and drawn.
EnumerationCalendarDrawMode  
EnumerationColorObjectStyle Specifies the appearance of color buttons displayed on the drop down menu of the color button.
EnumerationCommandButtonVisualState Defines identifiers that represent categories of user appearance of the command button. Specifies the visibility of  image and text on the command button.
EnumerationCommandPanelHighlightMode

Defines what kind of button buttons on the command panel will be highlighted on MouseMove Event (see CommandPanel OnMouseMove method).

EnumerationGalleryMode Specifies Gallery mode.
EnumerationSplitContainerHitTest Defines possible cell hit test values.
EnumerationTooltipObjectType  
EnumerationTrackBarHitTest Defines possible track bar hit test values.
See Also

Reference

BCGSoft.Controls.Shared Assembly

Send Feedback