ICompletionPresenter Interface
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.
Represents a class that manages user interface for the completion feature. All methods are called on UI thread.
public interface class ICompletionPresenter : IDisposable
public interface ICompletionPresenter : IDisposable
type ICompletionPresenter = interface
interface IDisposable
Public Interface ICompletionPresenter
Implements IDisposable
- Implements
Remarks
Instances of this class should be created by ICompletionPresenterProvider, which is a MEF part.
Methods
Close() |
Hides the completion UI |
Open(CompletionPresentationViewModel) |
Opens the UI and displays provided data |
Open(IAsyncCompletionSession, CompletionPresentationViewModel) |
Opens the UI and displays provided data |
Update(CompletionPresentationViewModel) |
Updates the UI with provided data |
Update(IAsyncCompletionSession, CompletionPresentationViewModel) |
Updates the UI with provided data |
Events
CommitRequested |
Notifies of user committing an item for completion |
CompletionClosed |
Notifies of UI closing |
CompletionItemSelected |
Notifies of user selecting an item. When item is selected programmatically, firing this event may result in endless loop. |
FiltersChanged |
Notifies of user changing the selection state of filters |