IntelliPromptBase
Base class for IntelliPrompt implementations..
Definition
Namespace:Telerik.WinForms.Controls.SyntaxEditor.UI
Assembly:Telerik.WinControls.SyntaxEditor.dll
Syntax:
public class IntelliPromptBase : ShapedForm, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IContainerControl, IThemeChangeListener, IDisposable
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlFormShapedFormIntelliPromptBase...
Derived Classes:
Implements:
Inherited Members
Constructors
public IntelliPromptBase()
Initializes a new instance of the IntelliPromptBase class.
public IntelliPromptBase(RadSyntaxEditorElement syntaxEditor)
The code editor.
Properties
Gets a value indicating whether [close on lost focus].
public virtual bool CloseOnLostFocus { get; }
true if [close on lost focus]; otherwise, false.
Gets the editor.
public RadSyntaxEditorElement Editor { get; }
The editor.
Gets the end position.
public CaretPosition EndPosition { get; }
The end position.
Gets a value indicating whether this instance has called close.
protected bool HasCalledClose { get; }
true if this instance has called close; otherwise, false.
Gets or sets a value indicating whether this instance is automatic close.
public bool IsAutoClose { get; set; }
true if this instance is automatic close; otherwise, false.
Gets or sets the opacity when control pressed.
public double OpacityWhenCtrlPressed { get; set; }
The opacity when control pressed.
Gets a value indicating whether [reposition on caret position changed].
public virtual bool RepositionOnCaretPositionChanged { get; }
true if [reposition on caret position changed]; otherwise, false.
Gets the start position.
public CaretPosition StartPosition { get; }
The start position.
Methods
Attaches to editor.
protected virtual void AttachToEditor()
Automatics the close.
protected virtual void AutoClose()
protected virtual Point CalculatePopupLocation(RadSyntaxEditorElement editor)
Closes this instance.
public void Close()
Detaches from editor.
protected virtual void DetachFromEditor()
Releases unmanaged and - optionally - managed resources.
protected virtual void Dispose(bool disposing)
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Handles the code editor key down.
protected virtual void HandleSyntaxEditorKeyDown(object sender, PreviewSyntaxEditorKeyEventArgs e)
The sender.
ePreviewSyntaxEditorKeyEventArgsThe PreviewSyntaxEditorKeyEventArgs instance containing the event data.
Handles the code editor key up.
protected virtual void HandleSyntaxEditorKeyUp(object sender, PreviewSyntaxEditorKeyEventArgs e)
The sender.
ePreviewSyntaxEditorKeyEventArgsThe PreviewSyntaxEditorKeyEventArgs instance containing the event data.
protected virtual void ReadOwnerProperties()
Resets this instance.
protected virtual void Reset()
protected virtual void SetPositionInView()
Shows this instance.
public void Show()
Shows the specified start position.
public void Show(CaretPosition caretStartPosition, CaretPosition caretEndPositions)
The start position.
caretEndPositionsCaretPositionThe end position.
protected virtual void UpdatePopupSize()