IUIElementProvider<TItem, TContext>::GetUIElement Method (TItem, TContext, UIElementType)
Visual Studio 2015
Gets a UIElement to display an item for the specified context.
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
UIElement^ GetUIElement( TItem itemToRender, TContext context, UIElementType elementType )
Parameters
- itemToRender
-
Type:
TItem
The item for which to return a UIElement.
- context
-
Type:
TContext
The context in which the item is to be rendered.
- elementType
-
Type:
Microsoft.VisualStudio.Language.Intellisense::UIElementType
The type of UIElement to be returned.
Return Value
Type: System.Windows::UIElement^A valid WPF UIElement, or null if none could be created.
Show: