PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.4.5.2 Assembly / C1.Win.C1Preview Namespace / C1PreviewPane Class / UnlockHistory Method
Action that was performed between the call to LockHistory and this call to 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 ViewHistory temporarily locked by a previous call to 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 LockHistory and this call to UnlockHistory. This action is added to history.
    historyItemCaption
    Caption for the userAction history item.
    See Also