CustomComboBox Class

CustomComboBox is an extension of ComboBox which provides drop-down customization.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.11.0
public abstract class CustomComboBox : ComboBox
Inheritance
Object    MarshalByRefObject    Component    Control    ListControl    ComboBox    CustomComboBox
Derived

Constructors

CustomComboBox Initializes a new instance of the CustomComboBox class.
CustomComboBox(Control) Initializes a new instance of the CustomComboBox class.

Properties

AllowResizeDropDown Indicates if drop-down is resizable.
ContainerGets the IContainer that contains the Component.
(Inherited from Component)
ControlSize Gets or sets the size of the drop-down control itself.
DesignModeGets a value that indicates whether the Component is currently in design mode.
(Inherited from Component)
DisplayMember Gets or sets the property to display for this ListControl.
DropDownControl Gets or sets drop-down control itself.
DropDownHeight Gets or sets the height in pixels of the drop-down portion of the ComboBox.
DropDownSizeMode Gets or sets the sizing mode for the drop-down.
DropDownStyle Gets or sets a value specifying the style of the combo box.
DropDownWidth Gets or sets the width of the of the drop-down portion of a combo box.
DropSize Gets or sets the size of the drop-down area.
EventsGets the list of event handlers that are attached to this Component.
(Inherited from Component)
IntegralHeight Gets or sets a value indicating whether the control should resize to avoid showing partial items.
IsDroppedDown Indicates if drop-down is currently shown.
ItemHeight Gets or sets the height of an item in the combo box.
Items Gets an object representing the collection of the items contained in this ComboBox.
MaxDropDownItems Gets or sets the maximum number of items to be shown in the drop-down portion of the ComboBox.
PreventPopupHide Gets or sets a value indicating whether to prevent hiding the popup window.
SelectedIndex Gets or sets the index specifying the currently selected item.
SelectedItem Gets or sets currently selected item in the ComboBox.
SelectedText Gets or sets the text that is selected in the editable portion of a ComboBox.
SelectedValue Gets or sets the value of the member property specified by the ValueMember property.
SelectionLength Gets or sets the number of characters selected in the editable portion of the combo box.
SelectionStart Gets or sets the starting index of text selected in the combo box.
Sorted Gets or sets a value indicating whether the items in the combo box are sorted.
Text Gets or sets the text associated with this control.
ValueMember Gets or sets the property to use as the actual value for the items in the ListControl.

Methods

AssignControl Assigns control to custom drop-down area of combo box.
AutoSizeDropDown Automatically resize drop-down from properties.
CreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
DisposeReleases all resources used by the Component.
(Inherited from Component)
Dispose(Boolean) Releases the unmanaged resources used by the ComboBox and optionally releases the managed resources.
(Overrides ComboBoxDispose(Boolean))
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeReleases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
GetServiceReturns an object that represents a service provided by the Component or by its Container.
(Inherited from Component)
GetTypeGets the Type of the current instance.
(Inherited from Object)
HideDropDown Hides drop-down area of combo box, if shown.
InitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
MemberwiseClone(Boolean)Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject)
OnDropDown Raises the DropDown event.
OnDropDownClosed Raises the DropDownClosed event.
OnFontChanged Raises the FontChanged event.
(Overrides ComboBoxOnFontChanged(EventArgs))
PreProcessMessage Preprocesses keyboard or input messages within the message loop before they are dispatched.
(Overrides ControlPreProcessMessage(Message))
ShowDropDown Displays drop-down area of combo box, if not already shown.
WndProc Processes Windows messages.
(Overrides ComboBoxWndProc(Message))

Events

DisposedOccurs when the component is disposed by a call to the Dispose method.
(Inherited from Component)
DropDown Occurs when the drop-down portion of a CustomComboBox is shown.
DropDownClosed Occurs when the drop-down portion of the CustomComboBox is no longer visible.

See Also