MetadataNavigationContext.XsltListViewWebPart Property

Gets or sets the active [XsltListViewWebPart] object for this instance of the MetadataNavigationContext object on the current page.

Namespace:  Microsoft.Office.DocumentManagement.MetadataNavigation
Assembly:  Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)

Syntax

'Declaration
Public Property XsltListViewWebPart As XsltListViewWebPart
    Get
    Set
'Usage
Dim instance As MetadataNavigationContext
Dim value As XsltListViewWebPart

value = instance.XsltListViewWebPart

instance.XsltListViewWebPart = value
public XsltListViewWebPart XsltListViewWebPart { get; set; }

Property Value

Type: Microsoft.SharePoint.WebPartPages.XsltListViewWebPart
The active [XsltListViewWebPart] object for this instance of the MetadataNavigationContext object on the current page.

Remarks

This is usually retrieved by finding the first web part on the page, if it is an XsltListViewWebPart object. Otherwise, this property can be set explicitly to a particular XsltListViewWebPart on the page.

See Also

Reference

MetadataNavigationContext Class

MetadataNavigationContext Members

Microsoft.Office.DocumentManagement.MetadataNavigation Namespace