Version

PaginationStarting Event

Occurs before a pagination process is about to begin.
Syntax
'Declaration
 
Public Event PaginationStarting As EventHandler(Of EmbeddedVisualPaginationEventArgs)
public event EventHandler<EmbeddedVisualPaginationEventArgs> PaginationStarting
Event Data

The event handler receives an argument of type EmbeddedVisualPaginationEventArgs containing data related to this event. The following EmbeddedVisualPaginationEventArgs properties provide information specific to this event.

PropertyDescription
VisualPaginator Returns the visual paginator used for the pagination (read-only).
Remarks

If SourceVisual implements the Infragistics.Windows.Reporting.IEmbeddedVisualPaginatorFactory interface then the interface's Infragistics.Windows.Reporting.IEmbeddedVisualPaginatorFactory.Create method will be called to create the VisualPaginator before this event is raised.

In this case the VisualPaginator will be cleared immediately after the PaginationEnded event is raised.

Note:XamDataGrid implements the Infragistics.Windows.Reporting.IEmbeddedVisualPaginatorFactory interface and returns a special derived class of DataPresenterBase as the VisualPaginator. Therefore, if special event handling is required, the events can be wired up in the PaginationStarting event by casting the VisualPaginator to DataPresenterBase. Those events can then be unwired in the PaginationEnded event.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also