Table of Contents

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.

CodeHintTimer
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.

Filter

Gets or sets filter string to filter CodeCompletionBox content. Filtered

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 using Filter property. Filter

IsFocused

Indicates whether CodeCompletionEdit control has an input focus.

ListBox
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.

Tabs

Methods

AddColumn()

Adds a new column to the CodeCompletionBox column collection.

AdjustTabWidth()
ClearColumns()

Removes all columns from the CodeCompletionBox column collection.

CodeEditDisposed()
CodeEditDisposed(object, EventArgs)
CodeEditKeyDown(object, KeyEventArgs)
CodeEditKeyPress(object, KeyPressEventArgs)
ContainsControl(Control)

Retrieves a value indicating whether the popup window contains the specified control.

CreateCodeCompletionListBox()
CreateCodeEdit()
CreateCodeHint()
CreatePopupControl()
Dispose(bool)

Destroys the instance of the CodeCompletionWindow class.

DoHide()
DoKeyDown(object, KeyEventArgs)
DoMouseWheel(object, MouseEventArgs)
DoProcessKeyMessage(ref Message)
DoSelectionChanged(object, EventArgs)
DoShow(Point)
DoShow(Point, ICodeCompletionProvider)
DoShowCodeHint()
DoUpdateSize(object, EventArgs)
GetAutoSize(bool, bool)
GetFilter(out bool)
GetSelectedIndex(bool)
GetTextFromOwnerControl(out string, out bool)
HideCodeEdit()
HideCodeHint()
InsertColumn(int)

Inserts a new column to the specified position in the column collection.

OnDropDownCountChanged()
OnFilterChanged()
OnFilterOptionsChanged()
OnFilteredChanged()
OnResize(EventArgs)

Raises the Resize event.

OnShowCodeHint(object, EventArgs)
OnShowPopup(ShowingEventArgs)
OnShowTabsChanged()
OnSizeChanged(EventArgs)

Raises the SizeChanged event.

OnTabsSelected(int)
PathLabelClick(object, EventArgs)
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 its Provider.

ResetDropDownCount()

Resets the DropDownCount to its default value.

ResetSizeable()

Resets the Sizeable to its default value.

SetProvider(ICodeCompletionProvider)
ShowCodeEdit(ref Point)
ShowCodeHint(int)
TabEnter(object, EventArgs)
TabsSelected(object, TabControlEventArgs)
UpdateAutoSize()
UpdateAutoSize(bool, bool)
UpdateCodeEdit(ref Point)
UpdatePosition()
WndProc(ref Message)

Processes Windows messages.

Events

SelectionChanged

Occurs when index specifying the currently selected item is changed.