DataPager.CanMoveToLastPage Property

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

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

Syntax

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

Property Value

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

Remarks

Dependency property identifier field: CanMoveToLastPageProperty

CanMoveToLastPage is true when CanChangePage is true and the last page is not the current page.

When CanMoveToLastPage is true, the DataPager is in the MoveLastEnabled state and the LastPageButton is enabled.

When CanMoveToLastPage is false, the DataPager is in the MoveLastDisabled state and the LastPageButton 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.