[]
        
(Showing Draft Content)

GrapeCity.Viewer.Common.IHistoryApi

IHistoryApi Interface

Defines the interface for interacting with the HistoryService, allowing navigation and management of the page view history.

Namespace: GrapeCity.Viewer.Common
Assembly: MESCIUS.ActiveReports.Viewer.Common.dll
Syntax
public interface IHistoryApi
Remarks

This interface provides methods for navigating through the history of viewed pages, as well as retrieving information about the history state, such as the total number of pages viewed and the current position within the history. It also allows for clearing the history.

Properties

Name Description
Count

Gets the total number of page views stored in the history.

Position

Gets the current position within the navigation history, indicating the current page view.

Methods

Name Description
Clear()

Clears all page views from the history, resetting the history state.

MoveNext()

Navigates forward to the next page view in the history, if available.

MovePrev()

Navigates backward to the previous page view in the history, if available.