Class IntelliPromptBase
Base class for IntelliPrompt implementations..
Inherited Members
Namespace: Telerik.WinForms.Controls.SyntaxEditor.UI
Assembly: Telerik.WinControls.SyntaxEditor.dll
Syntax
public class IntelliPromptBase : ShapedForm, IThemeChangeListener, IDisposable
  Constructors
IntelliPromptBase()
Declaration
public IntelliPromptBase()
  IntelliPromptBase(RadSyntaxEditorElement)
Initializes a new instance of the IntelliPromptBase class.
Declaration
public IntelliPromptBase(RadSyntaxEditorElement syntaxEditor)
  Parameters
| 
        RadSyntaxEditorElement
        syntaxEditor
         The code editor.  | 
    
Properties
CloseOnLostFocus
Gets a value indicating whether [close on lost focus].
Declaration
public virtual bool CloseOnLostFocus { get; }
  Property Value
| 
        System.Boolean
         
  | 
    
Editor
Gets the editor.
Declaration
public RadSyntaxEditorElement Editor { get; }
  Property Value
| 
        RadSyntaxEditorElement
         The editor.  | 
    
EndPosition
Gets the end position.
Declaration
public CaretPosition EndPosition { get; }
  Property Value
| 
        CaretPosition
         The end position.  | 
    
HasCalledClose
Gets a value indicating whether this instance has called close.
Declaration
protected bool HasCalledClose { get; }
  Property Value
| 
        System.Boolean
         
  | 
    
IsAutoClose
Gets or sets a value indicating whether this instance is automatic close.
Declaration
public bool IsAutoClose { get; set; }
  Property Value
| 
        System.Boolean
         
  | 
    
OpacityWhenCtrlPressed
Gets or sets the opacity when control pressed.
Declaration
public double OpacityWhenCtrlPressed { get; set; }
  Property Value
| 
        System.Double
         The opacity when control pressed.  | 
    
RepositionOnCaretPositionChanged
Gets a value indicating whether [reposition on caret position changed].
Declaration
public virtual bool RepositionOnCaretPositionChanged { get; }
  Property Value
| 
        System.Boolean
         
  | 
    
StartPosition
Gets the start position.
Declaration
public CaretPosition StartPosition { get; }
  Property Value
| 
        CaretPosition
         The start position.  | 
    
Methods
AttachToEditor()
Attaches to editor.
Declaration
protected virtual void AttachToEditor()
  AutoClose()
Automatics the close.
Declaration
protected virtual void AutoClose()
  CalculatePopupLocation(RadSyntaxEditorElement)
Declaration
protected virtual Point CalculatePopupLocation(RadSyntaxEditorElement editor)
  Parameters
| 
        RadSyntaxEditorElement
        editor
         
  | 
    
Returns
| 
        System.Drawing.Point
         
  | 
    
Close()
Closes this instance.
Declaration
public void Close()
  DetachFromEditor()
Detaches from editor.
Declaration
protected virtual void DetachFromEditor()
  Dispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Declaration
protected virtual void Dispose(bool disposing)
  Parameters
| 
        System.Boolean
        disposing
         
  | 
    
EditorLocationChanged(Object, EventArgs)
Declaration
protected virtual void EditorLocationChanged(object sender, EventArgs e)
  Parameters
| 
        System.Object
        sender
         
  | 
    
| 
        System.EventArgs
        e
         
  | 
    
GetDesiredNCHitResult(Int32)
Declaration
protected virtual int GetDesiredNCHitResult(int actualHitPoint)
  Parameters
| 
        System.Int32
        actualHitPoint
         
  | 
    
Returns
| 
        System.Int32
         
  | 
    
GetScreenPopupLocation(Point)
Declaration
protected virtual Point GetScreenPopupLocation(Point location)
  Parameters
| 
        Point
        location
         
  | 
    
Returns
| 
        System.Drawing.Point
         
  | 
    
GetThemeName()
Declaration
protected virtual string GetThemeName()
  Returns
| 
        System.String
         
  | 
    
HandleSyntaxEditorKeyDown(Object, PreviewSyntaxEditorKeyEventArgs)
Handles the code editor key down.
Declaration
protected virtual void HandleSyntaxEditorKeyDown(object sender, PreviewSyntaxEditorKeyEventArgs e)
  Parameters
| 
        System.Object
        sender
         The sender.  | 
    
| 
        PreviewSyntaxEditorKeyEventArgs
        e
         The PreviewSyntaxEditorKeyEventArgs instance containing the event data.  | 
    
HandleSyntaxEditorKeyUp(Object, PreviewSyntaxEditorKeyEventArgs)
Handles the code editor key up.
Declaration
protected virtual void HandleSyntaxEditorKeyUp(object sender, PreviewSyntaxEditorKeyEventArgs e)
  Parameters
| 
        System.Object
        sender
         The sender.  | 
    
| 
        PreviewSyntaxEditorKeyEventArgs
        e
         The PreviewSyntaxEditorKeyEventArgs instance containing the event data.  | 
    
ReadOwnerProperties()
Declaration
protected virtual void ReadOwnerProperties()
  Reset()
Resets this instance.
Declaration
protected virtual void Reset()
  SetPositionInView()
Declaration
protected virtual void SetPositionInView()
  Show()
Shows this instance.
Declaration
public void Show()
  Show(CaretPosition, CaretPosition)
Shows the specified start position.
Declaration
public void Show(CaretPosition caretStartPosition, CaretPosition caretEndPositions)
  Parameters
| 
        CaretPosition
        caretStartPosition
         The start position.  | 
    
| 
        CaretPosition
        caretEndPositions
         The end position.  | 
    
UpdatePopupLocation(Point)
UpdatePopupSize()
Declaration
protected virtual void UpdatePopupSize()
  WndProc(ref Message)
Declaration
protected override void WndProc(ref Message m)
  Parameters
| 
        System.Windows.Forms.Message
        m
         
  |