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 class.

public IntelliPromptCodeSnippetSelector(ICodeSnippetSelectionSession session)
Parameter Type Description
session ICodeSnippetSelectionSession

The ICodeSnippetSelectionSession for which the popup is displayed.

Properties

CurrentInputTextHorizontalOffset

The horizontal offset of the current input text.

public double CurrentInputTextHorizontalOffset { get; }

Property Value

double

Session

The ICodeSnippetSelectionSession for which the popup is displayed.

public ICodeSnippetSelectionSession Session { get; }

Property Value

ICodeSnippetSelectionSession

Extension Methods