PublishedNewsFeedWebPart.MaxItemsToDisplay property

Gets or sets the maximum number of ActivityEvent objects to display.

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

Syntax

'Declaration
Public Overrides Property MaxItemsToDisplay As Integer
    Get
    Set
'Usage
Dim instance As PublishedNewsFeedWebPart
Dim value As Integer

value = instance.MaxItemsToDisplay

instance.MaxItemsToDisplay = value
public override int MaxItemsToDisplay { get; set; }

Property value

Type: System.Int32
The maximum number of ActivityEvent objects to display. If an attempt is made to set to a value less than 0, then MaxItemsToDisplay will be set to 0; if an attempt is made to set to a value over 100, MaxItemsToDisplay will be set to 100. The default value is 10.

See also

Reference

PublishedNewsFeedWebPart class

PublishedNewsFeedWebPart members

Microsoft.SharePoint.Portal.WebControls namespace