Class PopupListBox<T>
Popup window with ListBox control.
public class PopupListBox<T> : PopupWindow<T>, IBaseObject, IDisposableObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, INotifyDataErrorInfo, IWindow, IControl, IDisposable, IWin32Window where T : ListBox, new()
Type Parameters
T
Type of the listbox control
- Inheritance
-
PopupWindow<T>PopupListBox<T>
- Implements
- Derived
Constructors
- PopupListBox()
Initializes a new instance of the PopupListBox<T> class.
Properties
- DefaultMinimumSize
Gets or sets default minimum size of the listbox popup main control.
- PopupResult
Gets or sets the popup result value, which is updated when popup is closed. This property is set to None at the moment when popup is shown.
- ResultIndex
Gets index of the selected item when popup window is closed.
- ResultItem
Gets selected item when popup window is closed.
Methods
- BindEvents(Control?)
Override to bind events to the main control of the popup window.
- CreateMainControl()
Creates main control of the popup window.
- OnMainControlMouseDoubleClick(object?, MouseEventArgs)
Default implementation of the left mouse button double click event for the main control of the popup window.
- OnMainControlMouseLeftButtonUp(object?, MouseEventArgs)
Default implementation of the left mouse button up event for the popup control.
- UnbindEvents(Control?)
Override to unbind events to the main control of the popup window.