Table of Contents

Class CodeCompletionListBox

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

Represents a completion list box control. This class inherited from ListBox class and provides similar functionality for code completion requirements.

public class CodeCompletionListBox : ListBox, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage, INotifyPropertyChanged
Inheritance
CodeCompletionListBox
Implements
Extension Methods

Constructors

CodeCompletionListBox()

Initializes a new instance of the CodeCompletionListBox class with default settings.

Fields

SelectedBackgroundProperty

Identifies the SelectedBackground dependency property.

SelectedBorderProperty

Identifies the SelectedBorder dependency property.

SelectedForegroundProperty

Identifies the SelectedForeground dependency property.

Properties

CodeCompletionBorderColor

Gets or sets CodeCompletionListBox border color.

Editor

Gets or sets TextEditor owning this CodeCompletionBox.

FirstVisibleItem

Gets or sets the index of the first visible item in the codecompletion window.

FocusMode

Specifies item preselection mode.

Provider

Represents the object that provides data for code completion.

SelectedBackground
SelectedBorder
SelectedForeground
SelectedIndex
VisibleItemCount

Gets the number of visible items.

Methods

CenterViewOn(int)

Centers the view on the item with the specified index.

ClearSelection()

Removes the selection.

HideTooltip()
OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

OnCodeCompletionBorderColorChanged()
OnPropertyChanged(string)
OnSelectionChanged(SelectionChangedEventArgs)

Responds to a list box selection change by raising a SelectionChanged event.

SelectIndex(int)

Selects the item with the specified index and scrolls it into view.

Events

PropertyChanged

Occurs when a property value changes.