Class CompletionHint
- Namespace
- Alternet.Editor.CodeCompletion
- Assembly
- Alternet.Editor.v9.dll
Represents a tooltip-like control used in a code completion.
public class CompletionHint : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
- Inheritance
-
CompletionHint
- Implements
Constructors
- CompletionHint()
Initializes a new instance of the
CompletionHint
class with default settings.
Properties
- AlphaImages
Represents an image list associated with this
CompletionHint
.
- ArrowColor
Gets or sets a background color used to paint
CompletionHint
arrow.
- HintSize
Returns a size of the hint control.
- Images
Represents an image list associated with this
CompletionHint
.
- NeedArrows
Indicates whether hint control have to paint up/down arrows.
- Provider
Gets or sets an object that contains data related to this
CompletionHint
.
- SelectedIndex
Gets or sets the index specifying the currently selected hint item.
- StartPos
Gets or sets start position of the hint in text coordinates.
- SyntaxPaint
Represents
ISyntaxPaint
interface used to draw control's content.
- UpdateSize
Occurs when size of the hint control is changed.
Methods
- ChangeSelection(bool)
Increments or decrements
SelectedIndex
property.
- Dispose(bool)
Destroys the instance of the
CompletionHint
class.
- IsInputKey(Keys)
Determines whether the specified key is a regular input key or a special key that requires preprocessing.
- OnFontChanged(EventArgs)
Raises the FontChanged event.
- OnMouseDown(MouseEventArgs)
Raises the MouseDown event.
- OnPaint(PaintEventArgs)
Raises the Paint event.
- ResetContent()
Updates
CompletionHint
content from itsProvider
.
- UpdateHint()
Updates content, position and size of the hint window.
- WndProc(ref Message)
Processes Windows messages.