Class IntelliPromptBase
Base class for IntelliPrompt implementations..
Inheritance
Namespace: Telerik.Windows.Controls.SyntaxEditor.UI
Assembly: Telerik.Windows.Controls.SyntaxEditor.dll
Syntax
public class IntelliPromptBase : Popup, IDisposable
Constructors
IntelliPromptBase(RadSyntaxEditor)
Initializes a new instance of the IntelliPromptBase class.
Declaration
public IntelliPromptBase(RadSyntaxEditor syntaxEditor)
Parameters
RadSyntaxEditor
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 RadSyntaxEditor Editor { get; }
Property Value
RadSyntaxEditor
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
|
HasItems
Indicates whether the child presenter of this instance has items.
Declaration
protected virtual bool HasItems { 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
|
IsSelecting
Gets or sets a value indicating whether the control is currently performing selection.
Declaration
protected bool IsSelecting { get; set; }
Property Value
System.Boolean
|
IsVisible
Gets whether this instance is open.
Declaration
public bool IsVisible { get; }
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
ArrangeOverride(Size)
When overridden in a derived class, positions child elements and determines a size for a System.Windows.FrameworkElement derived class.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size
finalSize
The final area within the parent that this element should use to arrange itself and its children. |
Returns
System.Windows.Size
The actual size used. |
AttachToEditor()
Attaches to editor.
Declaration
protected virtual void AttachToEditor()
AutoClose()
Automatics the close.
Declaration
protected virtual void AutoClose()
Close()
Closes this instance.
Declaration
public void Close()
DetachFromEditor()
Detaches from editor.
Declaration
protected virtual void DetachFromEditor()
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Implements
Dispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
System.Boolean
disposing
|
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. |
Reset()
Resets this instance.
Declaration
protected virtual void Reset()
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. |