IUIElementProvider<TItem, TContext>::GetUIElement Method (TItem, TContext, UIElementType)

 

Gets a UIElement to display an item for the specified context.

Namespace:   Microsoft.VisualStudio.Language.Intellisense
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.

Return to top
Show: