[]
        
(Showing Draft Content)

FarPoint.Win.FpCombo

FpCombo Class

Represents the FarPoint combo box control.

Namespace: FarPoint.Win
Assembly: FarPoint.Win.dll
Syntax
public class FpCombo : SuperEditBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IEditorImeSenteceModeSupport, ITouchEditor, IInputScopeSupport, IVerticalAlignmentSupport
Public Class FpCombo
    Inherits SuperEditBase
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IEditorImeSenteceModeSupport, ITouchEditor, IInputScopeSupport, IVerticalAlignmentSupport

Constructors

Name Description
FpCombo()

Creates a FarPoint combo box control.

Properties

Name Description
AcceptsArrowKeys

Gets or sets how keyboard arrow keys are handled.

AcceptsReturn

Gets or sets whether the combo box accepts a keyboard return (Enter key).

AutoCompleteCustomSource

Gets or sets a custom System.Collections.Specialized.StringCollection to use when the AutoCompleteSource property is set to CustomSource.

AutoCompleteMode

Gets or sets how automatic completion works.

AutoCompleteSource

Gets or sets a value that specifies the source of complete strings used for automatic completion.

AutoSearch

Gets or sets how a list of items in a combo box is searched based on input of a character key.

BackgroundColor

Gets or sets the background color of the combo box.

BorderStyle

Gets or sets the border style.

CanShowSelectionGripper

Gets whether the selection gripper can be displayed.

CharacterCasing

Gets or sets the character casing.

CharacterSet

Gets or sets which character set to use.

DropDownOptions

Gets or sets the drop down options

DroppedDown

Gets or sets whether the drop-down list is displayed (dropped down).

Editable

Gets or sets whether the text portion of the combo box is editable.

ImageList

Gets or sets the image list in a combo box.

ItemData

Gets or sets the item data list in a combo box.

List

Gets or sets the list of items in a combo box.

ListAlignment

Gets or sets which side of the control the drop-down list is aligned to.

ListControl

Gets or sets an alternate list box control for the drop-down list in the combo box.

ListOffset

Gets or sets the number of pixels to offset the list from the aligned edge of the control.

ListWidth

Gets or sets the width of the drop-down list in the combo box.

MaxDrop

Gets or sets the number of items to show in the drop-down list at one time in the combo box.

MaximumLength

Gets or sets the maximum number of characters for data in the text portion of the combo box.

Multiline

Gets or sets whether the combo box displays text in multiple lines.

SelectedIndex

Gets or sets the index of the selected item in the combo box list.

SelectedItem

Gets or sets the selected item in the combo box list.

ShowDropDownWhenEnter

Gets or sets whether to close the drop-down list and stop editing after pressing the enter key or clicking a combo box list item.

Text

Gets or sets the formatted contents or the control as a string matching exactly what is displayed.

WordWrap

Gets or sets whether text that does not fit on one line wraps to multiple lines.

Methods

Name Description
DrawListBoxItem(ListBox, DrawItemEventArgs)

Draws one of the list box items.

GetDroppedList()

Gets the drop-down list box.

OnAfterFocus(EventArgs)

Raises the AfterFocus event

OnCloseUp(EventArgs)

Raises the CloseUp event.

OnDropDown(DropDownEventArgs)

Raises the DropDown event.

OnEditTextChanged(object, EventArgs)

Raises the edit text changed.

OnEditTextCut(object, EventArgs)

Raises the edit text cut event.

OnEditTextPasted(object, CancelEventArgs)

Raises the edit text pasted event.

OnGotFocus(EventArgs)

Raises the got focus event.

OnItemSubmited(EventArgs)

Raises the ItemSubmited event.

OnLocationChanged(EventArgs)

Raises the System.Windows.Forms.Control.LocationChanged event.

OnLostFocus(EventArgs)

Raises the LostFocus event.

OnMouseDown(MouseEventArgs)

Raises the mouse down event.

OnMouseUp(MouseEventArgs)

Raises the MouseUp event.

OnSelectedIndexChanged(EventArgs)

Raises the SelectedIndexChanged event.

OnSelectedValueChanged(EventArgs)

Raises the SelectedValueChanged event.

OnSelectionChangeCommitted(EventArgs)

Raises the SelectionChangeCommitted event.

ShowList(bool)

Determines whether to show the drop-down list of the combo box control.

Events

Name Description
AfterFocus

Occurs after the control receives focus.

CloseUp

Occurs when the control goes away (closes up).

ItemSubmited

Occurs when combo item supmited.

SelectedIndexChanged

Occurs when the index of the selected item in the combo box list has changed.

SelectedValueChanged

Occurs when the value of the selected item in the combo box list has changed.

SelectionChangeCommitted

Occurs when the change to the selected item in the combo box list is committed.