Sdílet prostřednictvím


IPagedCollectionView.PageChanging Event

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

When implementing this interface, raise this event before changing the PageIndex. The event handler can cancel this event.

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

Syntax

'Declaration
Event PageChanging As EventHandler(Of PageChangingEventArgs)
event EventHandler<PageChangingEventArgs> PageChanging

Remarks

Classes that implement this interface should raise the PageChanging event and check that the Cancel property is false before initiating a page index change and raising the PageChanged event.

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.