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.
- 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 usingFiler
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.
- 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.
- Dispose(bool)
Releases the unmanaged resources used by the Control and its child controls and optionally releases the managed resources.
- GetColumn(int)
Returns a column by specifies index.
- GetIndex()
Returns current index.
- GetIndex(bool)
Returns current index.
- GetIndex(int)
Returns current index.
- InsertColumn(int)
Inserts a new column to the specified position of the
CompletionListBox
columns collection.
- OnDrawItem(DrawItemEventArgs)
Raises the DrawItem event.
- OnFontChanged(EventArgs)
Raises the FontChanged event.
- OnKeyDown(KeyEventArgs)
Raises the KeyDown event.
- OnMeasureItem(MeasureItemEventArgs)
Raises the MeasureItem event.
- OnSelectedIndexChanged(EventArgs)
Raises the SelectedValueChanged event.
- 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.
- WndProc(ref Message)
The list's window procedure.
Events
- UpdateSize
Occurs when size of the control is changed.