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 Intelli
Declaration
public IntelliPromptBase(RadSyntaxEditor syntaxEditor)
Parameters
Rad The code editor. |
Properties
CloseOnLostFocus
Gets a value indicating whether [close on lost focus].
Declaration
public virtual bool CloseOnLostFocus { get; }
Property Value
System.
|
Editor
Gets the editor.
Declaration
public RadSyntaxEditor Editor { get; }
Property Value
Rad The editor. |
EndPosition
Gets the end position.
Declaration
public CaretPosition EndPosition { get; }
Property Value
Caret The end position. |
HasCalledClose
Gets a value indicating whether this instance has called close.
Declaration
protected bool HasCalledClose { get; }
Property Value
System.
|
HasItems
Indicates whether the child presenter of this instance has items.
Declaration
protected virtual bool HasItems { get; }
Property Value
System.
|
IsAutoClose
Gets or sets a value indicating whether this instance is automatic close.
Declaration
public bool IsAutoClose { get; set; }
Property Value
System.
|
IsSelecting
Gets or sets a value indicating whether the control is currently performing selection.
Declaration
protected bool IsSelecting { get; set; }
Property Value
System.
|
IsVisible
Gets whether this instance is open.
Declaration
public bool IsVisible { get; }
Property Value
System.
|
OpacityWhenCtrlPressed
Gets or sets the opacity when control pressed.
Declaration
public double OpacityWhenCtrlPressed { get; set; }
Property Value
System. 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.
|
StartPosition
Gets the start position.
Declaration
public CaretPosition StartPosition { get; }
Property Value
Caret The start position. |
Methods
ArrangeOverride(Size)
When overridden in a derived class, positions child elements and determines a size for a System.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System. The final area within the parent that this element should use to arrange itself and its children. |
Returns
System. 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()
Dispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
System.
|
HandleSyntaxEditorKeyDown(Object, PreviewSyntaxEditorKeyEventArgs)
Handles the code editor key down.
Declaration
protected virtual void HandleSyntaxEditorKeyDown(object sender, PreviewSyntaxEditorKeyEventArgs e)
Parameters
System. The sender. |
Preview The Preview |
HandleSyntaxEditorKeyUp(Object, PreviewSyntaxEditorKeyEventArgs)
Handles the code editor key up.
Declaration
protected virtual void HandleSyntaxEditorKeyUp(object sender, PreviewSyntaxEditorKeyEventArgs e)
Parameters
System. The sender. |
Preview The Preview |
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
Caret The start position. |
Caret The end position. |