In This Article

IParameterInfoSession Interface

Provides the base requirements for an object that represents an IntelliPrompt parameter info session.

public interface IParameterInfoSession : IIntelliPromptSession, IServiceLocator

Properties

Content

Gets the content to display in the parameter info popup.

object Content { get; }

Property Value

object:

The content to display in the parameter info popup.

DisplaySelectedIndex

Gets the one-based index of the Selection.

int DisplaySelectedIndex { get; }

Property Value

int:

The one-based index of the Selection.

HasSelectionChanged

Gets whether the selection has changed since the session opened.

bool HasSelectionChanged { get; }

Property Value

bool:

true if the selection has changed since the session opened; otherwise, false.

IsArrowKeySelectionEnabled

Gets whether the up and down arrow keys can be used to change the Selection.

bool IsArrowKeySelectionEnabled { get; }

Property Value

bool:

true if the up and down arrow keys can be used to change the Selection; otherwise, false.

Items

Gets the collection of ISignatureItem objects within the parameter info.

ISignatureItemCollection Items { get; }

Property Value

ISignatureItemCollection:

The collection of ISignatureItem objects within the parameter info.

MaxWidth

Gets the quick info popup's maximum width.

double MaxWidth { get; }

Property Value

double:

The quick info popup's maximum width, or NaN to indicate no constraint.

SelectNextCommand

Gets the ICommand that selects the next item.

ICommand SelectNextCommand { get; }

Property Value

ICommand:

The ICommand that selects the next item.

SelectPreviousCommand

Gets the ICommand that selects the previous item.

ICommand SelectPreviousCommand { get; }

Property Value

ICommand:

The ICommand that selects the previous item.

Selection

Gets or sets a ISignatureItem indicating the current selection within the parameter info.

ISignatureItem Selection { get; set; }

Property Value

ISignatureItem:

A ISignatureItem indicating the current selection within the parameter info.

Methods

Refresh()

Refreshes the displayed content from the selected item's content provider, and repositions the popup.

void Refresh()

SelectNext()

Selects the next item.

void SelectNext()

SelectPrevious()

Selects the previous item.

void SelectPrevious()

Events

RequestNavigate

Occurs when a hyperlink is clicked that requests navigation.

event RequestNavigateEventHandler RequestNavigate

Event Type

RequestNavigateEventHandler

SelectionChanged

Occurs after the Selection has changed.

event EventHandler SelectionChanged

Event Type

EventHandler

Inherited Members