
'Declaration <ToolboxItemAttribute(False)> <DesignTimeVisibleAttribute(False)> <DesignerCategoryAttribute("Component")> Public Class ToolBarButton Inherits System.ComponentModel.Component
'Usage Dim instance As ToolBarButton
[ToolboxItem(false)] [DesignTimeVisible(false)] [DesignerCategory("Component")] public class ToolBarButton : System.ComponentModel.Component
'use the default constructor Dim tbb As ToolBarButton = New ToolBarButton() tbb.Style = ToolBarButtonStyle.Toggle tbb.Pushed = True nToolBar1.Buttons.Add(tbb)
//use the default constructor ToolBarButton tbb = new ToolBarButton(); tbb.Style = ToolBarButtonStyle.Toggle; tbb.Pushed = true; nToolBar1.Buttons.Add(tbb);
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Xceed.Chart.UIControls.ToolBarButton
Name | Description | |
---|---|---|
![]() | ToolBarButton Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() | Command | Gets or sets the Command object for the button. |
![]() | Container | (Inherited from System.ComponentModel.Component) |
![]() | ContextMenu | Gets or sets the PopupWindow the button will display. Only works if Style is set to ToolBarButtonStyle.DropDown. |
![]() | Control | Gest or sets the control this button will display. Only works with Style set to ToolBarButtonStyle.Control. |
![]() | Enabled | Gets or sets a value indicating if the button is currently enabled. |
![]() | ImageIndex | Gets or sets the image index for the button. |
![]() | Parent | Gets the ToolBar object that owns the button. |
![]() | Pushed | Gets or sets a value indicating whether the state of the button is pushed. Only works with Style set to ToolBarButtonStyle.Toggle. |
![]() | Rectangle | Gets the bounds of the button relative to its parent toolbar. |
![]() | Site | (Inherited from System.ComponentModel.Component) |
![]() | Style | Gets or sets the ToolBarButtonStyle field of the button. |
![]() | Tag | Gets or sets the additional data associated with the button. |
![]() | ToolTipText | Gets or sets the tooltip this button will display. |
Name | Description | |
---|---|---|
![]() | CanRaiseEvents | (Inherited from System.ComponentModel.Component) |
![]() | DesignMode | (Inherited from System.ComponentModel.Component) |
![]() | Events | (Inherited from System.ComponentModel.Component) |
Name | Description | |
---|---|---|
![]() | CreateObjRef | (Inherited from System.MarshalByRefObject) |
![]() | Dispose | Overloaded. Overridden. Overriden. Releases all the resources used by the button. |
![]() | GetLifetimeService | (Inherited from System.MarshalByRefObject) |
![]() | InitializeLifetimeService | (Inherited from System.MarshalByRefObject) |
![]() | ToString | Overridden. Overriden. The human readable representation of the button. |
![]() | UpdateFromCommand | Depending on the Command object assigned, the toolbar button sets its Style and depending on this style gets additional data such as ContextMenu or Control |
Name | Description | |
---|---|---|
![]() | DrawDropDownArrow | This member is reserved for internal use and is not intended to be used directly from your code. |
![]() | DrawDropDownButton | This member is reserved for internal use and is not intended to be used directly from your code. |
![]() | DrawImage | This member is reserved for internal use and is not intended to be used directly from your code. |
![]() | DrawPushButton | This member is reserved for internal use and is not intended to be used directly from your code. |
![]() | DrawSeparator | This member is reserved for internal use and is not intended to be used directly from your code. |
![]() | Finalize | (Inherited from System.ComponentModel.Component) |
![]() | GetService | (Inherited from System.ComponentModel.Component) |
![]() | MemberwiseClone | Overloaded. (Inherited from System.MarshalByRefObject) |
Name | Description | |
---|---|---|
![]() | Disposed | (Inherited from System.ComponentModel.Component) |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2