Class CodeCompletionBox
- Namespace
- Alternet.Editor.CodeCompletion
- Assembly
- Alternet.Editor.v10.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
CodeCompletionBoxclass with a specified owner.
Properties
- CodeCompletionBorderColor
Gets
CodeCompletionBoxborder color.
- CodeCompletionBorderThickness
Gets thickness of the
CodeCompletionBoxborder.
- Columns
Represents collection of
ICodeCompletionColumnobjects 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
CodeCompletionBoxshould filter its content.
- Filtered
Gets or sets a boolean value that indicates whether
CodeCompletionBoxshould filter its content usingFilterproperty. Filter
- IsFocused
Indicates whether
CodeCompletionEditcontrol 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
CodeCompletionBoxare sorted alphabetically.
- SupportsTabs
Gets a boolean value that indicates whether codecompletion window supports additional tabs.
Methods
- AddColumn()
Adds a new column to the
CodeCompletionBoxcolumn collection.
- ClearColumns()
Removes all columns from the
CodeCompletionBoxcolumn collection.
- ContainsControl(Control)
Retrieves a value indicating whether the popup window contains the specified control.
- Dispose(bool)
Destroys the instance of the
CodeCompletionWindowclass.
- 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
CodeCompletionBoxcontent from itsProvider.
- ResetDropDownCount()
Resets the
DropDownCountto its default value.
- WndProc(ref Message)
Processes Windows messages.
Events
- SelectionChanged
Occurs when index specifying the currently selected item is changed.