Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IsTotalItemCountFixed Property

DataPager.IsTotalItemCountFixed Property

Silverlight

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)

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.

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.

Silverlight

Supported in: 5, 4, 3

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

Community Additions

ADD
Show:
© 2015 Microsoft