PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview Namespace / C1PreviewPane Class / UnlockHistory Method
Action that was performed between the call to C1PreviewPane.LockHistory and this call to C1PreviewPane.UnlockHistory. This action is added to history.
Caption for the userAction history item.

In This Topic
    UnlockHistory Method (C1PreviewPane)
    In This Topic
    Unlocks (resumes) adding of new items to C1PreviewPane.ViewHistory temporarily locked by a previous call to C1PreviewPane.LockHistory.
    Syntax
    'Declaration
     
    Public Sub UnlockHistory( _
       ByVal userAction As HistorySavedActionsEnum, _
       ByVal historyItemCaption As String _
    ) 
    public void UnlockHistory( 
       HistorySavedActionsEnum userAction,
       string historyItemCaption
    )

    Parameters

    userAction
    Action that was performed between the call to C1PreviewPane.LockHistory and this call to C1PreviewPane.UnlockHistory. This action is added to history.
    historyItemCaption
    Caption for the userAction history item.
    See Also