CompletionListPopup
Class CompletionListPopup. Implements the IntelliPromptBase
Definition
Namespace:Telerik.WinForms.Controls.SyntaxEditor.UI
Assembly:Telerik.WinControls.SyntaxEditor.dll
Syntax:
public class CompletionListPopup : IntelliPromptBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IContainerControl, IThemeChangeListener, IDisposable
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlFormShapedFormIntelliPromptBaseCompletionListPopup...
Implements:
Inherited Members
Constructors
Initializes a new instance of the CompletionListPopup class.
public CompletionListPopup(RadSyntaxEditorElement syntaxEditor)
The code editor.
Properties
Gets a value indicating whether [close on lost focus].
public override bool CloseOnLostFocus { get; }
true if [close on lost focus]; otherwise, false.
Overrides:
Gets the completion list control.
public RadListControl CompletionListBox { get; }
The completion list items.
Gets the presenter.
public CompletionListPresenter Presenter { get; }
The presenter.
Gets a value indicating whether [reposition on caret position changed].
public override bool RepositionOnCaretPositionChanged { get; }
true if [reposition on caret position changed]; otherwise, false.
Overrides:
Gets or sets the count of the visible items inside the completion window.
public int VisibleItemsCount { get; set; }
The completion list items count.
Methods
Attaches to editor.
protected override void AttachToEditor()
Overrides:
Detaches from editor.
protected override void DetachFromEditor()
Overrides:
Handles the code editor key down.
protected override void HandleSyntaxEditorKeyDown(object sender, PreviewSyntaxEditorKeyEventArgs e)
The sender.
ePreviewSyntaxEditorKeyEventArgsThe PreviewSyntaxEditorKeyEventArgs instance containing the event data.
Overrides:
Invoked whenever an unhandled GotFocus event reaches this element in its route.
protected override void OnGotFocus(EventArgs e)
The RoutedEventArgs that contains the event data.
Overrides:
protected override void ReadOwnerProperties()
Overrides:
protected override void UpdatePopupSize()
Overrides:
Events
Occurs when text is being inserted from completion list to syntax editor.
public event EventHandler<CompletionListTextInsertingEventArgs> TextInserting