Helper class for building controls out of ICommand objects.
| C# | Visual Basic | Visual C++ |
public class CommandControlBuilder
Public Class CommandControlBuilder
public ref class CommandControlBuilder
| All Members | Constructors | Methods | |||
| Icon | Member | Description |
|---|---|---|
| CommandControlBuilder()()() | Initializes a new instance of the CommandControlBuilder class | |
| CommandItemClick(Object, EventArgs) |
Handles the click event of a tool strip item, if the Tag is
an ICommand instance the action is executed.
| |
| CreateLinkLabel<(Of <(TCommand>)>)()()() |
Creates a link label given the TCommand definition.
| |
| CreateToolStripButton<(Of <(TCommand>)>)()()() |
Creates a tool strip button given the TCommand definition.
| |
| CreateToolStripMenuItem<(Of <(TCommand>)>)()()() |
Creates a tool strip menu item given the TCommand definition.
| |
| CreateToolStripMenuItemSeparator()()() |
Creates a tool strip menu item seperator.
| |
| Equals(Object) |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| MonitorMenuItemsOpeningForEnabling(ToolStrip) |
Assigns an event handler (TopLevelMenuDropDownOpening(Object, EventArgs)) to the opening event
for menu strip items which in turn hadles enableing and disabling.
| |
| TopLevelMenuDropDownOpening(Object, EventArgs) |
Used when a menu is opening, handles enabling/disabling of items for display.
| |
| ToString()()() |
Returns a String that represents the current Object.
(Inherited from Object.) |
| Object | |
| CommandControlBuilder | |