NewsFeedWebPartBase.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 Overridable Property MaxItemsToDisplay As Integer
Get
Set
'Usage
Dim instance As NewsFeedWebPartBase
Dim value As Integer
value = instance.MaxItemsToDisplay
instance.MaxItemsToDisplay = value
public virtual 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 40.