'Declaration Public Function AddViewStateToHistory( _ ByVal userAction As HistorySavedActionsEnum, _ ByVal historyItemCaption As String, _ ByVal viewState As ViewState _ ) As ViewHistoryItem
public ViewHistoryItem AddViewStateToHistory( HistorySavedActionsEnum userAction, string historyItemCaption, ViewState viewState )
Parameters
- userAction
- The HistorySavedActionsEnum value defining user action associated with the new history item.
- historyItemCaption
- The caption of the new history item.
- viewState
- The ViewState structure representig the state of C1PreviewPane control (scroll position, zooming etc).
Return Value
The newly created ViewHistoryItem object, or null if the action was cancelled.