New to Telerik UI for WPFStart a free 30-day trial

Base class for IntelliPrompt implementations..

Definition

Namespace:Telerik.Windows.Controls.SyntaxEditor.UI

Assembly:Telerik.Windows.Controls.SyntaxEditor.dll

Syntax:

C#
public class IntelliPromptBase : Popup, IDisposable

Inheritance: objectIntelliPromptBase

Derived Classes: CompletionListPopupOverloadListPopup

Implements: IDisposable

Constructors

Initializes a new instance of the IntelliPromptBase class.

C#
public IntelliPromptBase(RadSyntaxEditor syntaxEditor)
Parameters:syntaxEditorRadSyntaxEditor

The code editor.

Properties

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

C#
public virtual bool CloseOnLostFocus { get; }
Property Value:

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

Gets the editor.

C#
public RadSyntaxEditor Editor { get; }
Property Value:

The editor.

Gets the end position.

C#
public CaretPosition EndPosition { get; }
Property Value:

The end position.

Gets a value indicating whether this instance has called close.

C#
protected bool HasCalledClose { get; }
Property Value:

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

Indicates whether the child presenter of this instance has items.

C#
protected virtual bool HasItems { get; }

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

C#
public bool IsAutoClose { get; set; }
Property Value:

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

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

C#
protected bool IsSelecting { get; set; }

Gets whether this instance is open.

C#
public bool IsVisible { get; }

Gets or sets the opacity when control pressed.

C#
public double OpacityWhenCtrlPressed { get; set; }
Property Value:

The opacity when control pressed.

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

C#
public virtual bool RepositionOnCaretPositionChanged { get; }
Property Value:

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

Gets the start position.

C#
public CaretPosition StartPosition { get; }
Property Value:

The start position.

Methods

When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class.

C#
protected override Size ArrangeOverride(Size finalSize)
Parameters:finalSizeSize

The final area within the parent that this element should use to arrange itself and its children.

Returns:

Size

The actual size used.

Attaches to editor.

C#
protected virtual void AttachToEditor()

Automatics the close.

C#
protected virtual void AutoClose()

Closes this instance.

C#
public void Close()

Detaches from editor.

C#
protected virtual void DetachFromEditor()

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

C#
public void Dispose()

Implements: IDisposable.Dispose()

Releases unmanaged and - optionally - managed resources.

C#
protected virtual void Dispose(bool disposing)
Parameters:disposingbool

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

Handles the code editor key down.

C#
protected virtual void HandleSyntaxEditorKeyDown(object sender, PreviewSyntaxEditorKeyEventArgs e)
Parameters:senderobject

The sender.

ePreviewSyntaxEditorKeyEventArgs

The PreviewSyntaxEditorKeyEventArgs instance containing the event data.

Handles the code editor key up.

C#
protected virtual void HandleSyntaxEditorKeyUp(object sender, PreviewSyntaxEditorKeyEventArgs e)
Parameters:senderobject

The sender.

ePreviewSyntaxEditorKeyEventArgs

The PreviewSyntaxEditorKeyEventArgs instance containing the event data.

Resets this instance.

C#
protected virtual void Reset()

Shows this instance.

C#
public void Show()

Shows the specified start position.

C#
public void Show(CaretPosition caretStartPosition, CaretPosition caretEndPositions)
Parameters:caretStartPositionCaretPosition

The start position.

caretEndPositionsCaretPosition

The end position.