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