ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Framework.Dialogs Namespace / MessageBox Class / Show Method / Show(Window,String,String,MessageBoxButton,MessageBoxImage,MessageBoxResult,String) Method

In This Topic
    Show(Window,String,String,MessageBoxButton,MessageBoxImage,MessageBoxResult,String) Method
    In This Topic
    Displays a message box in front of the specified window. The message box displays a message, title bar caption, button, and icon; and accepts a default message box result, complies with the specified options, and returns a result.
    Syntax

    Parameters

    owner
    messageText
    caption
    button
    icon
    defaultResult
    helpContextID
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also