skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class IntelliPromptBase

Base class for IntelliPrompt implementations..

Inheritance
System.Object
IntelliPromptBase
CompletionListPopup
OverloadListPopup
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

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

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

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

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

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

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

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

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()

Dispose(Boolean)

Releases unmanaged and - optionally - managed resources.

Declaration
protected virtual void Dispose(bool disposing)
Parameters
System.Boolean 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
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.

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)

See Also

System.Windows.Controls.Primitives.Popup
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.