Class CodeCompletionHint
Represents class that implements ICodeCompletionHint
interface. This object to represent a popup window in a form of tooltip.
public class CodeCompletionHint : CodeCompletionWindowBase, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICodeCompletionHint, ICodeCompletionWindow
- Inheritance
-
CodeCompletionHint
- Implements
- Derived
- Extension Methods
Constructors
- CodeCompletionHint(Control)
Initializes a new instance of the
CodeCompletionHint
class with a specified owner.
Properties
- AutoHide
Gets or sets a value indicating whether
CodeCompletionHint
should be closed after some period of time. AutoHidePause
- AutoHidePause
Gets or sets a value that specifies delay, in milliseconds, between displaying and hiding popup hint. AutoHide
- CurrentIndexText
Gets or sets string information about current index.
- Description
Gets or sets Description part of the text displayed in the popup window.
- Enabled
Gets or sets a value indicating whether the hint control can respond to user interaction.
- HintName
Gets or sets Name part of the text displayed in the popup window.
- InnerControl
Represents
CodeCompletionHintControl
control contained in popup window.
- Lexer
Gets or sets an object that can make lexical analysis for the hint control content.
- NeedArrows
Indicates whether hint control have to paint up/down arrows.
- SelectedIndex
Gets or sets the index specifying the currently selected hint item.
- Text
Gets or sets text displayed in the popup window.
- UseHtmlFormatting
Gets or sets a boolean value indicating whether html formatting tags may appear in the text.
Methods
- ChangeSelection(bool)
Increments or decrements
SelectedIndex
property.
- OnKeyDown(KeyEventArgs)
Invoked when an unhandled System.Windows.Input.Keyboard.KeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
- OnMouseDown(MouseButtonEventArgs)
Invoked when an unhandled System.Windows.Input.Mouse.MouseDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
- ProviderChanged(ICodeCompletionProvider, int)
Updates provider and related properties to this control.
- ResetAutoHide()
Resets the
AutoHide
to its default value.
- ResetAutoHidePause()
Resets the
AutoHidePause
to its default value.
- ResetContent()
Updates
CodeCompletionHint
content from its Provider.
Events
- HyperTextClick
Occurs when hypertext is clicked.