DataPager.CanMoveToPreviousPage 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 previous page.

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

Syntax

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

Property Value

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

Remarks

Dependency property identifier field: CanMoveToPreviousPageProperty

When CanMoveToPreviousPage is true, the DataPager is in the MovePreviousEnabled state and the PreviousPageButton is enabled.

When CanMoveToPreviousPage is false, the DataPager is in the MovePreviousDisabled state and the PreviousPageButton 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.