In This Article

IntelliPromptCodeSnippetSelector Class

Represents a default implementation of an IntelliPrompt code snippet selector.

public class IntelliPromptCodeSnippetSelector : ItemsControl
Inheritance:
object Visual UIElement FrameworkElement Control ItemsControl object

Constructors

IntelliPromptCodeSnippetSelector(ICodeSnippetSelectionSession)

Initializes an instance of the IntelliPromptCodeSnippetSelector class.

public IntelliPromptCodeSnippetSelector(ICodeSnippetSelectionSession session)
Parameter Type Description
session ICodeSnippetSelectionSession

The ICodeSnippetSelectionSession for which the popup is displayed.

Properties

CurrentInputTextHorizontalOffset

Gets the horizontal offset of the current input text.

public double CurrentInputTextHorizontalOffset { get; }

Property Value

double:

The horizontal offset of the current input text.

Session

Gets the ICodeSnippetSelectionSession for which the popup is displayed.

public ICodeSnippetSelectionSession Session { get; }

Property Value

ICodeSnippetSelectionSession:

The ICodeSnippetSelectionSession for which the popup is displayed.