Freigeben über


DataPager.CanMoveToFirstPage 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 first page.

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

Syntax

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

Property Value

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

Remarks

Dependency property identifier field: CanMoveToFirstPageProperty

CanMoveToFirstPage is true when CanChangePage is true and the first page is not the current page.

When CanMoveToFirstPage is true, the DataPager is in the MoveFirstEnabled state and the FirstPageButton is enabled.

When CanMoveToFirstPage is false, the DataPager is in the MoveFirstDisabled state and the FirstPageButton 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.