IPeekResultPresentation::Create Method (IPeekSession^, IPeekResultScrollState^)

Visual Studio 2015
 

Create WPF visual representation of the Peek result. An IPeekResultPresentation for an < IDocumentPeekResult would for example open document and return a WPF control of the IWpfTextViewHost.

Namespace:   Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

UIElement^ Create(
	IPeekSession^ session,
	IPeekResultScrollState^ scrollState
)

Parameters

session
Type: Microsoft.VisualStudio.Language.Intellisense::IPeekSession^

The IPeekSession containing the Peek result.

scrollState
Type: Microsoft.VisualStudio.Language.Intellisense::IPeekResultScrollState^

The state that defines the desired scroll state of the result. May be null (in which case the default scroll state is used).

Return Value

Type: System.Windows::UIElement^

A valid UIElement representing the Peek result.

Return to top
Show: