Export (0) Print
Expand All

ContentByQueryWebPart.FilterByContextTerm property

Gets a Boolean value that indicates whether to filter items with the current page context term.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public bool FilterByContextTerm { get; set; }

Property value

Type: System.Boolean
true if filter items are to be shown with the current context term; otherwise, false.

This property only applies if the Web Part is scoped to a list that contains a Managed Metadata or Enterprise Keywords field.

Community Additions

Show:
© 2014 Microsoft