DataPager.IsTotalItemCountFixed Property

Gets or sets a value that indicates whether the total number of items in the collection is fixed.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Data (in System.Windows.Controls.Data.dll)

Syntax

'Declaration
Public Property IsTotalItemCountFixed As Boolean
public bool IsTotalItemCountFixed { get; set; }
<sdk:DataPager IsTotalItemCountFixed="bool"/>

Property Value

Type: System.Boolean
true if the total number of items in the paged collection is fixed; otherwise, false.

Remarks

Dependency property identifier field: IsTotalItemCountFixedProperty

If you know that items will not be added to or removed from the source collection, you can set the IsTotalItemCountFixed property to true. When the total number of items is fixed, the DataPager will disable the NextPageButton when the last page is reached. Otherwise, the NextPageButton will remain enabled when the last page is reached.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.