Class ActionsListBox
Implements list box control with list of actions. When item is double clicked, associated action is executed.
public class ActionsListBox : VirtualListBox, IBaseObjectWithId, IDisposableObject, IBaseObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, INotifyDataErrorInfo, IReadOnlyStrings, IListControlItemContainer, IListControlItemDefaults, ICheckListBox<ListControlItem>, ICustomListBox<ListControlItem>, IListControl<ListControlItem>, IListControl, IControl, IDisposable, IWin32Window
- Inheritance
-
ActionsListBox
- Implements
Constructors
- ActionsListBox()
Initializes a new instance of the ActionsListBox class.
- ActionsListBox(Control)
Initializes a new instance of the ActionsListBox class.
Methods
- AddAction(string, Action?)
Adds Action to the ActionsListBox.
- AddActionSpacer(bool)
Adds an empty space to the ActionsListBox.
- AddBusyAction(string, Action)
Adds "heavy" Action to the ActionsListBox. When action executes, application's cursor is changed to the "busy" cursor.