共用方式為


CanUndoRedoCallback Delegate

Definition

Callback for querying if Undo/Redo can proceed based on external criteria.

public delegate bool CanUndoRedoCallback(bool isUndo, TransactionItem ^ transactionItem);
public delegate bool CanUndoRedoCallback(bool isUndo, TransactionItem transactionItem);
type CanUndoRedoCallback = delegate of bool * TransactionItem -> bool
Public Delegate Function CanUndoRedoCallback(isUndo As Boolean, transactionItem As TransactionItem) As Boolean 

Parameters

isUndo
Boolean
transactionItem
TransactionItem

Return Value

Applies to