IWindow.Confirm

IWindow.Confirm method

Displays a modal OK/Cancel prompt with the given message, waits for the user to dismiss it, and returns true if the user clicks OK and false if the user clicks Cancel.

public bool Confirm(string message)
ParameterTypeDescription
messageStringThe message.

Return Value

Returns true if the user clicks OK and false if the user clicks Cancel

See Also