Click or drag to resize
Task Scheduler Managed Class Library

CustomComboBox Class

CustomComboBox is an extension of ComboBox which provides drop-down customization.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.ComponentModelComponent
      System.Windows.FormsControl
        System.Windows.FormsListControl
          System.Windows.FormsComboBox
            Microsoft.Win32.TaskSchedulerCustomComboBox
              Microsoft.Win32.TaskSchedulerDropDownCheckList
              Microsoft.Win32.TaskSchedulerDropDownCheckTree

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.12.1
Syntax
C#
public abstract class CustomComboBox : ComboBox
Request Example View Source

The CustomComboBox type exposes the following members.

Constructors
 NameDescription
Public methodCustomComboBox Initializes a new instance of the CustomComboBox class.
Public methodCustomComboBox(Control) Initializes a new instance of the CustomComboBox class.
Top
Properties
 NameDescription
Public propertyAllowResizeDropDown Indicates if drop-down is resizable.
Public propertyContainerGets the IContainer that contains the Component.
(Inherited from Component)
Public propertyControlSize Gets or sets the size of the drop-down control itself.
Protected propertyDesignModeGets a value that indicates whether the Component is currently in design mode.
(Inherited from Component)
Public propertyDisplayMember Gets or sets the property to display for this ListControl.
Public propertyDropDownControl Gets or sets drop-down control itself.
Public propertyDropDownHeight Gets or sets the height in pixels of the drop-down portion of the ComboBox.
Public propertyDropDownSizeMode Gets or sets the sizing mode for the drop-down.
Public propertyDropDownStyle Gets or sets a value specifying the style of the combo box.
Public propertyDropDownWidth Gets or sets the width of the of the drop-down portion of a combo box.
Public propertyDropSize Gets or sets the size of the drop-down area.
Protected propertyEventsGets the list of event handlers that are attached to this Component.
(Inherited from Component)
Public propertyIntegralHeight Gets or sets a value indicating whether the control should resize to avoid showing partial items.
Public propertyIsDroppedDown Indicates if drop-down is currently shown.
Public propertyItemHeight Gets or sets the height of an item in the combo box.
Public propertyItems Gets an object representing the collection of the items contained in this ComboBox.
Public propertyMaxDropDownItems Gets or sets the maximum number of items to be shown in the drop-down portion of the ComboBox.
Protected propertyPreventPopupHide Gets or sets a value indicating whether to prevent hiding the popup window.
Public propertySelectedIndex Gets or sets the index specifying the currently selected item.
Public propertySelectedItem Gets or sets currently selected item in the ComboBox.
Public propertySelectedText Gets or sets the text that is selected in the editable portion of a ComboBox.
Public propertySelectedValue Gets or sets the value of the member property specified by the ValueMember property.
Public propertySelectionLength Gets or sets the number of characters selected in the editable portion of the combo box.
Public propertySelectionStart Gets or sets the starting index of text selected in the combo box.
Public propertySorted Gets or sets a value indicating whether the items in the combo box are sorted.
Public propertyText Gets or sets the text associated with this control.
Public propertyValueMember Gets or sets the property to use as the actual value for the items in the ListControl.
Top
Methods
 NameDescription
Protected methodAssignControl Assigns control to custom drop-down area of combo box.
Protected methodAutoSizeDropDown Automatically resize drop-down from properties.
Public methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
Public methodDisposeReleases all resources used by the Component.
(Inherited from Component)
Protected methodDispose(Boolean) Releases the unmanaged resources used by the ComboBox and optionally releases the managed resources.
(Overrides ComboBoxDispose(Boolean))
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeReleases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Protected methodGetServiceReturns an object that represents a service provided by the Component or by its Container.
(Inherited from Component)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHideDropDown Hides drop-down area of combo box, if shown.
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodMemberwiseClone(Boolean)Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject)
Protected methodOnDropDown Raises the DropDown event.
Protected methodOnDropDownClosed Raises the DropDownClosed event.
Protected methodOnFontChanged Raises the FontChanged event.
(Overrides ComboBoxOnFontChanged(EventArgs))
Public methodPreProcessMessage Preprocesses keyboard or input messages within the message loop before they are dispatched.
(Overrides ControlPreProcessMessage(Message))
Public methodShowDropDown Displays drop-down area of combo box, if not already shown.
Protected methodWndProc Processes Windows messages.
(Overrides ComboBoxWndProc(Message))
Top
Events
 NameDescription
Public eventDisposedOccurs when the component is disposed by a call to the Dispose method.
(Inherited from Component)
Public eventDropDown Occurs when the drop-down portion of a CustomComboBox is shown.
Public eventDropDownClosed Occurs when the drop-down portion of the CustomComboBox is no longer visible.
Top
See Also