ArcGIS Pro 2.9 API Reference Guide
ShowDialog(String,String,Object[]) Method

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.
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, Windows 8.1

See Also

Reference

PropertySheet Class
PropertySheet Members
Overload List