Class CodeCompletionBox
- Namespace
- Alternet.Editor.CodeCompletion
- Assembly
- Alternet.Editor.v9.dll
Represents class that implements ICodeCompletionBox
interface. This object is used to display a popup window containing Code Completion information presented in the form of list.
public class CodeCompletionBox : CodeCompletionWindow, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, IControl, ICodeCompletionBox, ICodeCompletionWindow
- Inheritance
-
CodeCompletionBox
- Implements
- Derived
Constructors
- CodeCompletionBox(Control)
Initializes a new instance of the
CodeCompletionBox
class with a specified owner.
Properties
- CodeCompletionBorderColor
Gets
CodeCompletionBox
border color.
- CodeCompletionBorderThickness
Gets thickness of the
CodeCompletionBox
border.
- Columns
Represents collection of
ICodeCompletionColumn
objects displayed by Code Completion ListBox.
- CompletionEdit
Represents CodeCompletionEdit object used to display code snippets.
- CompletionHint
Represents CodeCompletion hint object used to display hints next to completion box.
- DropDownCount
Gets or sets a value that specifies maximum visible amount of the ListBox items within the control.
- FilterOptions
Gets or sets rules specifying how
CodeCompletionBox
should filter its content.
- Filtered
Gets or sets a boolean value that indicates whether
CodeCompletionBox
should filter its content usingFilter
property. Filter
- IsFocused
Indicates whether
CodeCompletionEdit
control has an input focus.
- Painter
Gets or sets theme-driven painter for the
ICodeCompletionBox
.
- ShowTabs
Gets or sets boolean value that indicates whether codecompletion window should display additional tabs.
- Sorted
Gets or sets a value indicating whether the items in the
CodeCompletionBox
are sorted alphabetically.
- SupportsTabs
Gets a boolean value that indicates whether codecompletion window supports additional tabs.
Methods
- AddColumn()
Adds a new column to the
CodeCompletionBox
column collection.
- ClearColumns()
Removes all columns from the
CodeCompletionBox
column collection.
- ContainsControl(Control)
Retrieves a value indicating whether the popup window contains the specified control.
- Dispose(bool)
Destroys the instance of the
CodeCompletionWindow
class.
- InsertColumn(int)
Inserts a new column to the specified position in the column collection.
- OnResize(EventArgs)
Raises the Resize event.
- OnSizeChanged(EventArgs)
Raises the SizeChanged event.
- PerformSearch()
Performs searching operation.
- PopupAt(Point, ICodeCompletionProvider)
Displays popup window at the specified position.
- ProcessKeyPreview(ref Message)
Previews a keyboard message.
- RemoveColumnAt(int)
Removes the column at the specified index of the column collection.
- ResetContent()
Updates
CodeCompletionBox
content from itsProvider
.
- ResetDropDownCount()
Resets the
DropDownCount
to its default value.
- ResetSizeable()
Resets the
Sizeable
to its default value.
- WndProc(ref Message)
Processes Windows messages.
Events
- SelectionChanged
Occurs when index specifying the currently selected item is changed.