ShowUntargetedItems property
Collapse the table of content
Expand the table of content

ContentByQueryWebPart.ShowUntargetedItems property

Whether to show items that have no audiences associated with them.

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

public bool ShowUntargetedItems { get; set; }

Property value

Type: System.Boolean

This property only applies if audience targeting is enabled.

© 2015 Microsoft