New to Telerik UI for WPFStart a free 30-day trial

Class CompletionListPopup. Implements the IntelliPromptBase

Definition

Constructors

Initializes a new instance of the CompletionListPopup class.

C#
public CompletionListPopup(RadSyntaxEditor syntaxEditor)
Parameters:syntaxEditorRadSyntaxEditor

The code editor.

Properties

Indicates whether the CompletionListPresenter has items.

C#
protected override bool HasItems { get; }

Overrides: IntelliPromptBase.HasItems

Gets the presenter.

C#
public CompletionListPresenter Presenter { get; }
Property Value:

The presenter.

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

C#
public override bool RepositionOnCaretPositionChanged { get; }
Property Value:

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

Overrides: IntelliPromptBase.RepositionOnCaretPositionChanged

Methods

Attaches to editor.

C#
protected override void AttachToEditor()

Overrides: IntelliPromptBase.AttachToEditor()

Detaches from editor.

C#
protected override void DetachFromEditor()

Overrides: IntelliPromptBase.DetachFromEditor()

Handles the code editor key down.

C#
protected override void HandleSyntaxEditorKeyDown(object sender, PreviewSyntaxEditorKeyEventArgs e)
Parameters:senderobject

The sender.

ePreviewSyntaxEditorKeyEventArgs

The PreviewSyntaxEditorKeyEventArgs instance containing the event data.

Overrides: IntelliPromptBase.HandleSyntaxEditorKeyDown(object, PreviewSyntaxEditorKeyEventArgs)

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

C#
protected override void OnGotFocus(RoutedEventArgs e)
Parameters:eRoutedEventArgs

The RoutedEventArgs that contains the event data.

Events

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

C#
public event EventHandler<CompletionListTextInsertingEventArgs> TextInserting