ClassIntelliPromptBase
Base class for IntelliPrompt implementations..
Definition
Namespace:Telerik.Windows.Controls.SyntaxEditor.UI
Assembly:Telerik.Windows.Controls.SyntaxEditor.dll
Syntax:
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Intelli")]
public class IntelliPromptBase : Popup, IDisposable
Inheritance: objectIntelliPromptBase
Derived Classes:
Implements:
Constructors
IntelliPromptBase(RadSyntaxEditor)
Initializes a new instance of the IntelliPromptBase class.
Declaration
public IntelliPromptBase(RadSyntaxEditor syntaxEditor)
Parameters
syntaxEditor
The code editor.
Properties
CloseOnLostFocus
Gets a value indicating whether [close on lost focus].
Declaration
public virtual bool CloseOnLostFocus { get; }
Property Value
true if [close on lost focus]; otherwise, false.
Editor
Gets the editor.
Declaration
public RadSyntaxEditor Editor { get; }
Property Value
The editor.
EndPosition
Gets the end position.
Declaration
public CaretPosition EndPosition { get; }
Property Value
The end position.
HasCalledClose
Gets a value indicating whether this instance has called close.
Declaration
protected bool HasCalledClose { get; }
Property Value
true if this instance has called close; otherwise, false.
HasItems
Indicates whether the child presenter of this instance has items.
IsAutoClose
Gets or sets a value indicating whether this instance is automatic close.
Declaration
public bool IsAutoClose { get; set; }
Property Value
true if this instance is automatic close; otherwise, false.
IsSelecting
Gets or sets a value indicating whether the control is currently performing selection.
IsVisible
Gets whether this instance is open.
OpacityWhenCtrlPressed
Gets or sets the opacity when control pressed.
Declaration
public double OpacityWhenCtrlPressed { get; set; }
Property Value
The opacity when control pressed.
RepositionOnCaretPositionChanged
Gets a value indicating whether [reposition on caret position changed].
Declaration
public virtual bool RepositionOnCaretPositionChanged { get; }
Property Value
true if [reposition on caret position changed]; otherwise, false.
StartPosition
Gets the start position.
Declaration
public CaretPosition StartPosition { get; }
Property Value
The start position.
Methods
ArrangeOverride(Size)
When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
finalSize
Size
The final area within the parent that this element should use to arrange itself and its children.
Returns
Size
The actual size used.
AttachToEditor()
Attaches to editor.
Declaration
protected virtual void AttachToEditor()
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(bool)
Releases unmanaged and - optionally - managed resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
disposing
true to release both managed and unmanaged resources; false to release only unmanaged resources.
HandleSyntaxEditorKeyDown(object, PreviewSyntaxEditorKeyEventArgs)
Handles the code editor key down.
Declaration
protected virtual void HandleSyntaxEditorKeyDown(object sender, PreviewSyntaxEditorKeyEventArgs e)
Parameters
sender
The sender.
e
PreviewSyntaxEditorKeyEventArgs
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
sender
The sender.
e
PreviewSyntaxEditorKeyEventArgs
The PreviewSyntaxEditorKeyEventArgs instance containing the event data.
Show(CaretPosition, CaretPosition)
Shows the specified start position.
Declaration
public void Show(CaretPosition caretStartPosition, CaretPosition caretEndPositions)
Parameters
caretStartPosition
The start position.
caretEndPositions
The end position.