Class CodeCompletionWindow
- Namespace
- Alternet.Editor.CodeCompletion
- Assembly
- Alternet.Editor.v9.dll
Represents a base class for popup controls such as CodeCompletionBox
and CodeCompletionHint
.
public class CodeCompletionWindow : Form, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, ICodeCompletionWindow, IControl
- Inheritance
-
CodeCompletionWindow
- Implements
- Derived
Remarks
Do not create instances of this class, use derived classes instead.
Constructors
- CodeCompletionWindow()
Initializes a new instance of the
CodeCompletionWindow
class with default settings.
- CodeCompletionWindow(Control)
Initializes a new instance of the
CodeCompletionWindow
class with a specified owner.
Properties
- AlphaImages
Gets or sets the
AlphaImageList
for code completion items.
- AutoSize
Gets or sets a value indicating whether a popup window is automatically resized to fit its contents.
- CompletionFlags
Gets or sets collection of attributes that specifies behavior of the popup window.
- CreateParams
Gets the required creation parameters when the control handle is created.
- DisplayPos
Specifies position within the text (as index of line and character) where
ICodeCompletionWindow
is displayed.
- DoNotFocusPopupControl
Gets or sets a value indicating whether popup control should not be focused.
- FocusControl
Returns child control that has an input focus.
- Images
Gets or sets the
ImageList
for code completion items.
- IsFocused
Indicates whether
CodeCompletionWindow
or it's child control has an input focus.
- IsVisible
Indicates if window is visible.
- OwnerControl
Represents a control owning this
CodeCompletionWindow
object.
- PopupControl
Represents control contained in popup window. Usually
CodeCompletionHint
orCompletionListBox
. CodeCompletionHint CompletionListBox
- Provider
Gets or sets the object that contains data related to the popup window.
- Sizeable
Gets or sets a value indicating whether the border of the popup window is sizable.
Methods
- Close(bool)
Closes the popup window.
- Close(bool, bool)
Closes the popup window.
- Close(bool, char)
Closes the popup window.
- CloseDelayed(bool)
Closes the popup window with delay.
- ContainsControl(Control)
Retrieves a value indicating whether the popup window contains the specified control.
- ContainsMouseCursor(int)
Determines whether control contains mouse position, with specified therehold.
- Dispose(bool)
Destroys the instance of the
CodeCompletionWindow
class.
- EnsureVisible(ref Point)
Ensures that the popup window is visible in the screen working area, moving it if necessary.
- PerformSearch()
Performs searching operation.
- Popup()
Displays popup window at the current mouse position.
- PopupAt(Point)
Displays popup window at the specified screen position.
- PopupAt(Point, ICodeCompletionProvider)
Displays popup window at the specified position.
- PopupAt(int, int)
Displays popup window at the specified position.
- PositionChanged(int, int, int, int)
Responds on changing position in the popup window.
- ProcessKeyPreview(ref Message)
Previews a keyboard message.
- ResetAutoSize()
Resets the AutoSize property to its default value.
- ResetCodeCompletionFlags()
Resets the
CompletionFlags
property to its default value.
- ResetContent()
Updates
CodeCompletionWindow
content from itsProvider
.
- ResetSizeable()
Resets the
Sizeable
property to its default value.
- WndProc(ref Message)
Processes Windows messages.
Events
- ClosePopup
Occurs when the popup window is closed.
- KeyPreviewEvent
Occurs when the popup window receives key message.
- ShowPopup
Occurs when the popup window is displayed.