ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Framework Namespace / PropertySheet Class / ShowDialog Method / ShowDialog(String,String,Object[]) Method
The DAML property sheet identifier.
Optionally, the DAML identifier of the page to start on.
Any data that should be made available to the pages.

In This Topic
    ShowDialog(String,String,Object[]) Method
    In This Topic
    Opens the specified property sheet and returns only when the newly opened window is closed.
    Syntax
    public static Nullable<bool> ShowDialog( 
       string id,
       string defaultPageID,
       params object[] parameters
    )
    Public Overloads Shared Function ShowDialog( _
       ByVal id As String, _
       Optional ByVal defaultPageID As String, _
       ByVal ParamArray parameters() As Object _
    ) As Nullable(Of Boolean)

    Parameters

    id
    The DAML property sheet identifier.
    defaultPageID
    Optionally, the DAML identifier of the page to start on.
    parameters
    Any data that should be made available to the pages.

    Return Value

    A Nullable<T> value of type Boolean that specifies whether the activity was accepted (true) or canceled (false). The return value is the value of the DialogResult property before a window closes.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also