共用方式為


DataPager.CanMoveToNextPage Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets a value that indicates whether the user can move to the next page.

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

Syntax

'Declaration
Public Property CanMoveToNextPage As Boolean
public bool CanMoveToNextPage { get; private set; }

Property Value

Type: System.Boolean
true if the user can move to the next page; otherwise, false.

Remarks

Dependency property identifier field: CanMoveToNextPageProperty

If IsTotalItemCountFixed is true, CanMoveToNextPage is true when CanChangePage is true and the current page is not the last page.

If IsTotalItemCountFixed is false, CanMoveToNextPage is always true.

When CanMoveToNextPage is true, the DataPager is in the MoveNextEnabled state and the NextPageButton is enabled.

When CanMoveToNextPage is false, the DataPager is in the MoveNextDisabled state and the NextPageButton is disabled.

For more information about parts and states, see DataPager Styles and Templates.

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.