Wimark.Controls Class Library  

ComboEditor Members

ComboEditor overview

Public Constructors

public constructorComboEditor Constructor Creates a new instance of the ComboEditor class.

Public Properties

public propertyAnimate (inherited from Editor) Gets or sets a value indicating whether the drop down window should animate when it is opened.
public propertyBackColor Gets or sets the background color of the control.
public propertyBounds (inherited from Editor) Gets the bounds of the editor.
public propertyClonedFrom (inherited from Editor) Gets or sets the editor this editor is cloned from.
public propertyContainer (inherited from Component) Gets the IContainer that contains the Component.
public propertyDropDownStyle Gets or sets a value specifying the style of the combo editor.
public propertyDropDownWidth Gets or sets the width of the of the drop-down portion of a combo editor.
public propertyDroppedDown (inherited from Editor) Gets or sets a value indicating whether the editor is displaying its drop-down portion.
public propertyEnabled (inherited from Editor) Gets or sets a value indicating whether the editor is enabled.
public propertyFont Gets or sets the font used to display the text in the ComboEditor.
public propertyForeColor Gets or sets the foreground color of the control.
public propertyFullRowSelect Gets or sets a value indicating whether the selection highlight spans the width of the drop down window.
public propertyImageList The ImageList object from which the ComboEditor takes its images.
public propertyIsActivated (inherited from Editor) Gets a value indicating whether the editor is activated.
public propertyIsDialogOpened (inherited from Editor) Gets a value indicating whether the editor is displaying the modal dialog.
public propertyItems Gets the collection of items assigned to the ComboEditor control.
public propertyLargeButtonLayout (inherited from Editor) Gets or sets a value indicating whether the editor should display large buttons.
public propertyMaxDropDownItems Gets or sets the maximum number of items to be shown in the drop-down portion of the ComboEditor.
public propertyMaxLength Gets or sets the maximum number of characters allowed in the editable portion of a combo editor.
public propertyMenuCommands Gets the collection of CommandItem objects used to create the context menu.
public propertyOwnerDraw Gets or sets a value indicating whether the code that you provide draws the items in a ComboEditor or the renderer draws them.
public propertyPreferredSize Gets or sets the preferred size of the ComboEditor.
public propertyRenderer (inherited from Editor) The renderer that paints this control.
public propertyRightToLeft (inherited from Editor) Gets or sets whether the content displayed by the editor is displayed from right to left.
public propertySelectedIndex Gets or sets the zero-based index of the currently selected item in a ComboEditor control.
public propertySelectedItem Gets or sets the currently selected item in the ComboEditor control.
public propertySelectedText Gets or sets the text that is selected in the editable portion of a ComboEditor.
public propertySelectionLength Gets or sets the number of characters selected in the editable portion of the combo editor.
public propertySelectionStart Gets or sets the starting index of text selected in the combo editor.
public propertySite (inherited from Component) Gets or sets the ISite of the Component.
public propertySorted Gets or sets a value indicating whether the items in the ComboEditor are sorted alphabetically.
public propertyText Gets or sets the text associated with this control.
public propertyValue (inherited from Editor) Gets or sets the value to edit.

Public Methods

public methodActivate (inherited from Editor) Activates the editor and starts to edit the value.
public methodBeginUpdate Maintains performance while items are added to the ComboEditor one at a time by preventing the control from drawing until the EndUpdate method is called.
public methodClone (inherited from Editor) Creates a new editor and copies the state from this editor.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodDisplayModalDialog (inherited from Editor) Displays the modal dialog used to edit the value.
public methodDispose (inherited from Component) Overloaded. Releases the resources used by the Component.
public methodEndUpdate Resumes painting the ComboEditor control after painting is suspended by the BeginUpdate method.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodFindItem Overloaded. Finds the first item in the ComboEditor that starts with the specified string. The search starts at a specific starting index.
public methodFindItemExact Overloaded. Finds the first item in the ComboEditor that exactly matches the specified string.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodOnValueModified (inherited from Editor) Raises the ValueModified event.
public methodSelect Selects a range of text in the editable portion of the ComboEditor.
public methodSelectAll Selects all the text in the editable portion of the ComboEditor.
public methodToString (inherited from Component) Overridden. See Object.ToString.
public methodUpdateSelectedItem Updates the SelectedItem from the text in the editable portion of the combo box.

Public Events

public eventActivated (inherited from Editor) Occurs when the editor is activated and starts to edit a value.
public eventBeforeDeactivate (inherited from Editor) Occurs before the editor loses focus and ends editing a value.
public eventDeactivated (inherited from Editor) Occurs when the editor loses focus and ends editing a value.
public eventDisposed (inherited from Component) Adds an event handler to listen to the Disposed event on the component.
public eventDrawItem Occurs when the OwnerDraw property is set to true and a request is made to draw the combo item.
public eventDropDown (inherited from Editor) Occurs before the drop-down portion of an editor is shown.
public eventIsInputKey (inherited from Editor) Occurs when the editor determines whether the specified key is a special key that requires preprocessing.
public eventKeyDown (inherited from Editor) Occurs when a key that requires preprocessing is pressed while the editor is active.
public eventMeasureItem Occurs when the combo editor needs to know the size of a combo item before drawing it.
public eventOpenDialog (inherited from Editor) Occurs before the modal dialog of an editor is open.
public eventSelectedIndexChanged Occurs when the SelectedIndex property has changed.
public eventValueChanged (inherited from Editor) Occurs when the Value property has changed.
public eventValueModified (inherited from Editor) Occurs when the editor value is changed by the user.

Protected Properties

protected propertyDesignMode (inherited from Component) Gets a value that indicates whether the Component is currently in design mode.
protected propertyEvents (inherited from Component) Gets the list of event handlers that are attached to this Component.
protected propertyHorizontalDropDownScrollBar (inherited from Editor) Gets or sets a value indicating whether the horizontal scrollbar of the drop down window should be visible when it's needed.
protected propertyMaxDropDownRows (inherited from Editor) Gets or sets the maximum number of rows to be shown in the drop-down portion of the editor.
protected propertyPreferredDropDownSize (inherited from Editor) Gets or sets the preferred size of the of the drop-down portion of an editor.
protected propertyVerticalDropDownScrollBar (inherited from Editor) Gets or sets a value indicating whether the vertical scrollbar of the drop down window should be visible when it's needed.

Protected Methods

protected methodCreateDropDownArea (inherited from Editor) Virtual method that should create the area control used in the drop down window to edit values.
protected methodCreateEditorControl (inherited from Editor) Virtual method that should create the control used to edit values.
protected methodCreateEditorForm (inherited from Editor) Virtual method that should create the form used as a modal dialog to edit values.
protected methodDispose (inherited from Component) Overloaded. Releases the resources used by the Component.
protected methodFinalize (inherited from Component) Overridden. See Object.Finalize.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodGetCanEdit (inherited from Editor) Virtual method that should return a value that indicates whether the editor can edit the value.
protected methodGetService (inherited from Component) Returns an object that represents a service provided by the Component or by its Container.
protected methodGetSupportsDialog (inherited from Editor) Virtual method that should return a value that indicates whether the editor supports editing by a modal dialog.
protected methodGetSupportsDropDown (inherited from Editor) Virtual method that should return a value that indicates whether the editor supports editing by a drop down window.
protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
protected methodOnActivated (inherited from Editor) Raises the Activated event.
protected methodOnBeforeDeactivate (inherited from Editor) Raises the BeforeDeactivate event.
protected methodOnDeactivated (inherited from Editor) Raises the Deactivated event.
protected methodOnDrawItem Raises the DrawItem event.
protected methodOnDropDown (inherited from Editor) Raises the DropDown event.
protected methodOnDropDownStyleChanged This method is called when the DropDownStyle property is changed.
protected methodOnIsInputKey (inherited from Editor) Raises the IsInputKey event.
protected methodOnKeyDown (inherited from Editor) Raises the KeyDown event.
protected methodOnMeasureItem Raises the MeasureItem event.
protected methodOnOpenDialog (inherited from Editor) Raises the OpenDialog event.
protected methodOnSelectedIndexChanged Raises the SelectedIndexChanged event.
protected methodOnValueChanged (inherited from Editor) Raises the ValueChanged event.
protected methodPerformInvalidate (inherited from Editor) Overloaded. Raises the Invalidate event.
protected methodPerformLayout (inherited from Editor) Updates the layout of the editor.
protected methodSort Sorts the items in the ComboEditor alphabetically.

See Also

ComboEditor Class | Wimark.Controls.Editors Namespace