Table of Contents

Class CompletionListBox

Namespace
Alternet.Editor.CodeCompletion
Assembly
Alternet.Editor.v9.dll

Represents a completion list box control. This class inherited from ListBox class and provides similar functionality for code completion requirements.

public class CompletionListBox : ListBoxWithAdvancedScrolling, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, ICompletionListBox, IControl
Inheritance
CompletionListBox
Implements
Derived

Constructors

CompletionListBox()

Initializes a new instance of the CompletionListBox class with default settings.

Properties

AlphaImages

Represents an alpha image list associated with this CompletionListBox.

ColumnCount

Returns number of the columns in the listbox.

Columns

Represents ICodeCompletionColumn collection.

Filter

Gets or sets filter string to filter CompletionListBox content. Filtered

FilterOptions

Gets or sets rules specifying how list box should filter its content.

Filtered

Gets or sets a boolean value that indicates whether CompletionListBox should filter its content using Filer property. Filter

FocusMode

Specifies item preselection mode.

Images

Represents an image list associated with this CompletionListBox.

ItemFocusRectangleColor

Represents focus rectangle color of the selected item.

ItemImagePadding

Gets or sets padding of the image part.

ItemTextPadding

Gets or sets padding of the text part.

ItemWidth

Gets width of the widest item.

Items

Gets the items appears in the CompletionListBox.

NavKeys

Represents a key collection used to navigate within the CompletionListBox content.

Priority

Gets or sets priority filter to filter CompletionListBox content. Filter

Provider

Represents the object that provides data for code completion. ICodeCompletionProvider

SelectedBackgroundColor

Represents background color of the selected item.

SelectedForegroundColor

Represents foreground color of the selected item.

SelectedIndex

Gets or sets the zero-based index of the currently selected item in the CompletionListBox.

Methods

AddColumn()

Adds a new column to the end of the CompletionListBox column collection.

ClearColumns()

Removes all columns from the CompletionListBox column collection.

CreateListBoxItemComparer()
Dispose(bool)

Releases the unmanaged resources used by the Control and its child controls and optionally releases the managed resources.

DrawItemFocusRectangle(DrawItemEventArgs, bool, Rectangle)
FillListBox(IList<ListboxItem>, bool)
GetAllItemsFilteredOutDisplayMode()
GetColumn(int)

Returns a column by specifies index.

GetIndex()

Returns current index.

GetIndex(bool)

Returns current index.

GetIndex(int)

Returns current index.

GetListBoxItems(List<ListboxItem>, bool)
InsertColumn(int)

Inserts a new column to the specified position of the CompletionListBox columns collection.

IsAbbreviatedFilterMatch(string, out ItemFilterTextMatch)
IsContentEqual(IList<ListboxItem>, IList)
IsFiltered(int, out ItemFilterTextMatch)
IsFiltered(string, int)
IsFiltered(string, int, out ItemFilterTextMatch)
IsFilteredPriority(int)
IsFilteredString(string)
IsFilteredString(string, out ItemFilterTextMatch)
IsSubstringFilterMatch(string, out ItemFilterTextMatch)
NeedImeComposition()
OnAlphaImagesChanged()
OnDrawItem(DrawItemEventArgs)

Raises the DrawItem event.

OnFilterChanged()
OnFilterOptionsChanged()
OnFilteredChanged()
OnFontChanged(EventArgs)

Raises the FontChanged event.

OnImagesChanged()
OnKeyDown(KeyEventArgs)

Raises the KeyDown event.

OnMeasureItem(MeasureItemEventArgs)

Raises the MeasureItem event.

OnPriorityChanged()
OnSelectedIndexChanged(EventArgs)

Raises the SelectedValueChanged event.

ProviderChanged()
RemoveColumnAt(int)

Removes column at the specified position from the CompletionListBox column collection.

ResetContent()

Updates CompletionListBox content from its Provider.

ResetContent(int)

Updates CompletionListBox content from its Provider.

UpdateControlSize()
WndProc(ref Message)

The list's window procedure.

Events

UpdateSize

Occurs when size of the control is changed.