Class
IntelliPromptBase

Base class for IntelliPrompt implementations..

Definition

Namespace:Telerik.Windows.Controls.SyntaxEditor.UI

Assembly:Telerik.Windows.Controls.SyntaxEditor.dll

Syntax:

cs-api-definition
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Intelli")]
public class IntelliPromptBase : Popup, IDisposable

Inheritance: objectIntelliPromptBase

Derived Classes: CompletionListPopupOverloadListPopup

Implements: IDisposable

Constructors

IntelliPromptBase(RadSyntaxEditor)

Initializes a new instance of the IntelliPromptBase class.

Declaration

cs-api-definition
public IntelliPromptBase(RadSyntaxEditor syntaxEditor)

Parameters

syntaxEditor

RadSyntaxEditor

The code editor.

Properties

CloseOnLostFocus

Gets a value indicating whether [close on lost focus].

Declaration

cs-api-definition
public virtual bool CloseOnLostFocus { get; }

Property Value

bool

true if [close on lost focus]; otherwise, false.

Editor

Gets the editor.

Declaration

cs-api-definition
public RadSyntaxEditor Editor { get; }

Property Value

RadSyntaxEditor

The editor.

EndPosition

Gets the end position.

Declaration

cs-api-definition
public CaretPosition EndPosition { get; }

Property Value

CaretPosition

The end position.

HasCalledClose

Gets a value indicating whether this instance has called close.

Declaration

cs-api-definition
protected bool HasCalledClose { get; }

Property Value

bool

true if this instance has called close; otherwise, false.

HasItems

Indicates whether the child presenter of this instance has items.

Declaration

cs-api-definition
protected virtual bool HasItems { get; }

Property Value

bool

IsAutoClose

Gets or sets a value indicating whether this instance is automatic close.

Declaration

cs-api-definition
public bool IsAutoClose { get; set; }

Property Value

bool

true if this instance is automatic close; otherwise, false.

IsSelecting

Gets or sets a value indicating whether the control is currently performing selection.

Declaration

cs-api-definition
protected bool IsSelecting { get; set; }

Property Value

bool

IsVisible

Gets whether this instance is open.

Declaration

cs-api-definition
public bool IsVisible { get; }

Property Value

bool

OpacityWhenCtrlPressed

Gets or sets the opacity when control pressed.

Declaration

cs-api-definition
public double OpacityWhenCtrlPressed { get; set; }

Property Value

double

The opacity when control pressed.

RepositionOnCaretPositionChanged

Gets a value indicating whether [reposition on caret position changed].

Declaration

cs-api-definition
public virtual bool RepositionOnCaretPositionChanged { get; }

Property Value

bool

true if [reposition on caret position changed]; otherwise, false.

StartPosition

Gets the start position.

Declaration

cs-api-definition
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 FrameworkElement derived class.

Declaration

cs-api-definition
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

cs-api-definition
protected virtual void AttachToEditor()

AutoClose()

Automatics the close.

Declaration

cs-api-definition
protected virtual void AutoClose()

Close()

Closes this instance.

Declaration

cs-api-definition
public void Close()

DetachFromEditor()

Detaches from editor.

Declaration

cs-api-definition
protected virtual void DetachFromEditor()

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

Dispose(bool)

Releases unmanaged and - optionally - managed resources.

Declaration

cs-api-definition
protected virtual void Dispose(bool disposing)

Parameters

disposing

bool

true to release both managed and unmanaged resources; false to release only unmanaged resources.

HandleSyntaxEditorKeyDown(object, PreviewSyntaxEditorKeyEventArgs)

Handles the code editor key down.

Declaration

cs-api-definition
protected virtual void HandleSyntaxEditorKeyDown(object sender, PreviewSyntaxEditorKeyEventArgs e)

Parameters

sender

object

The sender.

e

PreviewSyntaxEditorKeyEventArgs

The PreviewSyntaxEditorKeyEventArgs instance containing the event data.

HandleSyntaxEditorKeyUp(object, PreviewSyntaxEditorKeyEventArgs)

Handles the code editor key up.

Declaration

cs-api-definition
protected virtual void HandleSyntaxEditorKeyUp(object sender, PreviewSyntaxEditorKeyEventArgs e)

Parameters

sender

object

The sender.

e

PreviewSyntaxEditorKeyEventArgs

The PreviewSyntaxEditorKeyEventArgs instance containing the event data.

Reset()

Resets this instance.

Declaration

cs-api-definition
protected virtual void Reset()

Show()

Shows this instance.

Declaration

cs-api-definition
public void Show()

Show(CaretPosition, CaretPosition)

Shows the specified start position.

Declaration

cs-api-definition
public void Show(CaretPosition caretStartPosition, CaretPosition caretEndPositions)

Parameters

caretStartPosition

CaretPosition

The start position.

caretEndPositions

CaretPosition

The end position.