Table of Contents

Class CodeCompletionBox

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.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 a list.

public class CodeCompletionBox : CodeCompletionWindowBase, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICodeCompletionBox, ICodeCompletionWindow
Inheritance
CodeCompletionBox
Implements
Derived
Extension Methods

Constructors

CodeCompletionBox(Control)

Initializes a new instance of the CodeCompletionBox class with a specified owner.

Properties

CaseSensitive
CodeHintTimer
CompletionHint

Represents CodeCompletion hint object used to display hints next to completion box.

CompletionToolTip

Represents a tooltip-like control used in a code completion.

Filter

Gets or sets filter string to filter CodeCompletionBox content.

FilterOptions
Filtered

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

List

Represents a content container for ICodeCompletionBox popup control.

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.

Tabs

Methods

AdjustTabWidth()
CheckPositionValid()
CodeEditDisposed(object, EventArgs)
CodeEditKeyDown(object, KeyEventArgs)
CodeEditKeyPress(object, KeyPressEventArgs)
CreateCodeCompletionList()
CreateCodeHint(TextEditor)
CreatePopupControl()
DetachEvents()
DoHide()
DoKeyDown(object, KeyEventArgs)
DoMouseWheel(object, MouseEventArgs)
DoSelectionChanged(object, EventArgs)
DoShow(Point)
DoShow(Point, ICodeCompletionProvider)
DoShowCodeHint()
DoUpdateSize(object, EventArgs)
GetFilter(out bool)
GetSelectedIndex(bool)
GetTextFromOwnerControl(out string, out bool)
HideCodeEdit()
HideCodeHint()
OnFilterChanged()
OnFilterOptionsChanged()
OnFilteredChanged()
OnKeyDown(KeyEventArgs)

Invoked when an unhandled System.Windows.Input.Keyboard.KeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

OnPreviewKeyDown(KeyEventArgs)

Invoked when an unhandled System.Windows.Input.Keyboard.PreviewKeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

OnShowCodeHint(object, EventArgs)
OnShowPopup(ShowingEventArgs)
OnTabsSelected(int)
PathLabelClick(object, EventArgs)
PerformSearch()

Performs searching operation.

PopupAt(Point, ICodeCompletionProvider)

Displays popup window at the specified position.

ResetContent()

Updates CodeCompletionBox content from its Provider.

SetProvider(ICodeCompletionProvider)
ShowCodeEdit(ref Point)
ShowCodeHint(int)
TabEnter(object, EventArgs)
TabsSelected(object, TabControlEventArgs)
UpdateCodeEdit(ref Point)

Events

SelectionChanged

Occurs when index specifying the currently selected item is changed.