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

ShowDialog(String,String,String,Object[]) Method
Opens the specified property sheet and returns only when the newly opened window is closed.
Syntax
public static Nullable<bool> ShowDialog( 
   string id,
   string title,
   string defaultPageID,
   params object[] parameters
)

Parameters

id
The DAML property sheet identifier.
title
The window title.
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