Class
CompletionListPopup

Class CompletionListPopup. Implements the IntelliPromptBase

Definition

Namespace:Telerik.Windows.Controls.SyntaxEditor.UI

Assembly:Telerik.Windows.Controls.SyntaxEditor.dll

Syntax:

cs-api-definition
public class CompletionListPopup : IntelliPromptBase, IDisposable

Inheritance: objectIntelliPromptBaseCompletionListPopup

Implements: IDisposable

Inherited Members IntelliPromptBase.Close()IntelliPromptBase.Dispose()IntelliPromptBase.Show()IntelliPromptBase.Show(CaretPosition, CaretPosition)IntelliPromptBase.ArrangeOverride(Size)IntelliPromptBase.AutoClose()IntelliPromptBase.Dispose(bool)IntelliPromptBase.HandleSyntaxEditorKeyUp(object, PreviewSyntaxEditorKeyEventArgs)IntelliPromptBase.Reset()IntelliPromptBase.CloseOnLostFocusIntelliPromptBase.EditorIntelliPromptBase.EndPositionIntelliPromptBase.IsAutoCloseIntelliPromptBase.IsVisibleIntelliPromptBase.OpacityWhenCtrlPressedIntelliPromptBase.StartPositionIntelliPromptBase.HasCalledCloseIntelliPromptBase.IsSelecting

Constructors

CompletionListPopup(RadSyntaxEditor)

Initializes a new instance of the CompletionListPopup class.

Declaration

cs-api-definition
public CompletionListPopup(RadSyntaxEditor syntaxEditor)

Parameters

syntaxEditor

RadSyntaxEditor

The code editor.

Properties

HasItems

Indicates whether the CompletionListPresenter has items.

Declaration

cs-api-definition
protected override bool HasItems { get; }

Property Value

bool

Overrides IntelliPromptBase.HasItems

Presenter

Gets the presenter.

Declaration

cs-api-definition
public CompletionListPresenter Presenter { get; }

Property Value

CompletionListPresenter

The presenter.

RepositionOnCaretPositionChanged

Gets a value indicating whether [reposition on caret position changed].

Declaration

cs-api-definition
public override bool RepositionOnCaretPositionChanged { get; }

Property Value

bool

true if [reposition on caret position changed]; otherwise, false.

Overrides IntelliPromptBase.RepositionOnCaretPositionChanged

Methods

AttachToEditor()

Attaches to editor.

Declaration

cs-api-definition
protected override void AttachToEditor()

Overrides IntelliPromptBase.AttachToEditor()

DetachFromEditor()

Detaches from editor.

Declaration

cs-api-definition
protected override void DetachFromEditor()

Overrides IntelliPromptBase.DetachFromEditor()

HandleSyntaxEditorKeyDown(object, PreviewSyntaxEditorKeyEventArgs)

Handles the code editor key down.

Declaration

cs-api-definition
protected override void HandleSyntaxEditorKeyDown(object sender, PreviewSyntaxEditorKeyEventArgs e)

Parameters

sender

object

The sender.

e

PreviewSyntaxEditorKeyEventArgs

The PreviewSyntaxEditorKeyEventArgs instance containing the event data.

Overrides IntelliPromptBase.HandleSyntaxEditorKeyDown(object, PreviewSyntaxEditorKeyEventArgs)

OnGotFocus(RoutedEventArgs)

Invoked whenever an unhandled event reaches this element in its route.

Declaration

cs-api-definition
protected override void OnGotFocus(RoutedEventArgs e)

Parameters

e

RoutedEventArgs

The RoutedEventArgs that contains the event data.

Events

TextInserting

Occurs when text is being inserted from completion list to syntax editor.

Declaration

cs-api-definition
public event EventHandler<CompletionListTextInsertingEventArgs> TextInserting

Event Value

EventHandler<CompletionListTextInsertingEventArgs>