'Declaration Public Event PaginationStarting As EventHandler(Of EmbeddedVisualPaginationEventArgs)
public event EventHandler<EmbeddedVisualPaginationEventArgs> PaginationStarting
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.
Property | Description |
---|---|
VisualPaginator | Returns the visual paginator used for the pagination (read-only). |
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.
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