50.8k views
0 votes
ShowDialog, used by a FileDialog object to display itself, is ______________________.

A property

A method

An event

User Woodvi
by
6.0k points

1 Answer

2 votes

Answer: A method

Step-by-step explanation:

The show Dialog is the type of method that is used by the file-dialog object for displaying itself. The main purpose of show-dialog is that it runs the common dialog box in the system with the default owner. It is basically inherited from the common-dialog.

The show-dialog is the type of method that displays the dialog box for defining the file extension filter and the various dialog behavior in the system.