ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Catalog Namespace / ItemDialog Class / ShowDialog Method

In This Topic
    ShowDialog Method (ItemDialog)
    In This Topic
    Opens the Browse dialog box.
    Syntax
    public abstract Nullable<bool> ShowDialog()
    Public MustOverride Function ShowDialog() As Nullable(Of Boolean)

    Return Value

    A boolean indicating if the dialog box was dismissed by pressing OK or Cancel.
    Remarks
    You can either configure the Browse dialog box properties first then display it with the ShowDialog method, or display the dialog box and then set its properties.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also