IUIElementProvider<TItem, TContext> Interface
Visual Studio 2015
Defines the provider of WPF UIElements for objects of a certain type, for a specified context.
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
| Name | Description | |
|---|---|---|
![]() | GetUIElement(TItem, TContext, UIElementType) | Gets a UIElement to display an item for the specified context. |
This is a MEF component part, and should be exported with the NameAttribute, ContentTypeAttribute, and OrderAttribute attributes.
The following is an example of the use of these attributes
[Export(typeof(IIntellisensePresenterProvider))]
[Export(typeof(IUIElementProvider<CompletionSet, ICompletionSession>))]
[Name("Test Completion Presenter")]
[Order(After="Default Completion Presenter")]
[ContentType("code")]
Show:
