Version

UserPromptDisplaying Event

Invoked when the user will be prompted with a message regarding an operation that is being performed.
Syntax
'Declaration
 
Public Event UserPromptDisplaying As EventHandler(Of SpreadsheetUserPromptDisplayingEventArgs)
public event EventHandler<SpreadsheetUserPromptDisplayingEventArgs> UserPromptDisplaying
Event Data

The event handler receives an argument of type SpreadsheetUserPromptDisplayingEventArgs containing data related to this event. The following SpreadsheetUserPromptDisplayingEventArgs properties provide information specific to this event.

PropertyDescription
CanCancel Returns a boolean indicating if the operation that triggered the prompt can be cancelled.
Cancel Returns or sets a boolean indicating whether the operation that triggered the prompt should be cancelled.
Caption Returns or sets the caption for the message dialog that will be displayed.
DisplayMessage Returns or sets a boolean indicating if a message will be displayed to the end user.
Exception Returns the exception for the error, if there was one.
Message Returns or sets the message that will be displayed.
Trigger Returns an enumeration indicating the action caused the prompt to be displayed.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also