Class CodeCompletionBox
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
- 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.
- Filtered
Gets or sets a boolean value that indicates whether
CodeCompletionBox
should filter its content usingFilter
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.
Methods
- 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.
- PerformSearch()
Performs searching operation.
- PopupAt(Point, ICodeCompletionProvider)
Displays popup window at the specified position.
- ResetContent()
Updates
CodeCompletionBox
content from itsProvider
.
Events
- SelectionChanged
Occurs when index specifying the currently selected item is changed.