FilteredCompletionModel Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This class, returned from IAsyncCompletionItemManager, contains completion items to display in the UI, recommended item to display, selection mode and available filters.
public ref class FilteredCompletionModel sealed
public sealed class FilteredCompletionModel
type FilteredCompletionModel = class
Public NotInheritable Class FilteredCompletionModel
- Inheritance
-
FilteredCompletionModel
Constructors
FilteredCompletionModel(CompletionList<CompletionItemWithHighlight>, Int32, ImmutableArray<CompletionFilterWithState>, UpdateSelectionHint, Boolean, CompletionItem) |
Constructs FilteredCompletionModel with completion filters, indication regarding selection mode and the unique item |
FilteredCompletionModel(ImmutableArray<CompletionItemWithHighlight>, Int32, ImmutableArray<CompletionFilterWithState>, UpdateSelectionHint, Boolean, CompletionItem) |
Constructs FilteredCompletionModel with completion filters, indication regarding selection mode and the unique item |
FilteredCompletionModel(ImmutableArray<CompletionItemWithHighlight>, Int32, ImmutableArray<CompletionFilterWithState>) |
Constructs FilteredCompletionModel with completion filters. |
FilteredCompletionModel(ImmutableArray<CompletionItemWithHighlight>, Int32) |
Constructs FilteredCompletionModel without completion filters. |
Properties
CenterSelection |
Whether selected item should be displayed in the center of the list. Usually, this is true |
Filters |
Completion filters with their availability and selection state. |
Items |
Obsolete.
Items to display in the completion UI. |
SelectedItemIndex |
Recommended item index to select. -1 selects suggestion item. |
SelectionHint |
Controls the selection mode of the selected item. |
UniqueItem |
Optionally, provides an item that should be committed using the "commit if unique" command. |