다음을 통해 공유


CompletionPresentationViewModel Class

Definition

This class contains completion items, filters and other pieces of information used by ICompletionPresenter to render the completion UI.

public ref class CompletionPresentationViewModel sealed
public sealed class CompletionPresentationViewModel
type CompletionPresentationViewModel = class
Public NotInheritable Class CompletionPresentationViewModel
Inheritance
CompletionPresentationViewModel

Constructors

CompletionPresentationViewModel(CompletionList<CompletionItemWithHighlight>, ImmutableArray<CompletionFilterWithState>, Int32, ITrackingSpan, Boolean, Boolean, Boolean, CompletionItem, SuggestionItemOptions)

Constructs CompletionPresentationViewModel

CompletionPresentationViewModel(ImmutableArray<CompletionItemWithHighlight>, ImmutableArray<CompletionFilterWithState>, Int32, ITrackingSpan, Boolean, Boolean, Boolean, CompletionItem, SuggestionItemOptions)

Constructs CompletionPresentationViewModel

Properties

ApplicableToSpan

Span pertinent to the completion session.

DisplaySuggestionItem

Controls whether suggestion item is visible.

Filters

Completion filters with their available and selected state.

ItemList

Completion items to display with their highlighted spans.

Items
Obsolete.

Completion items to display with their highlighted spans.

SelectedItemIndex

Controls which item is selected. Use -1 in suggestion mode.

SelectSuggestionItem

Controls whether suggestion item is selected.

SuggestionItem

Suggestion item to display when DisplaySuggestionItem is set.

SuggestionItemOptions

How to display the SuggestionItem.

UseSoftSelection

Controls whether selected item should be soft selected.

Applies to