![]() Gets or sets a value indicating whether this FileDialog instance should automatically upgrade appearance and behavior when running on Windows Vista. ![]() Gets or sets a value indicating whether the dialog box automatically adds an extension to a file name if the user omits the extension. The following are some of the commonly used properties of the OpenFileDialog control − Sr.No. You can also set the ReadOnl圜hecked property to True, so that the read-only check box appears checked.įollowing is the Open File dialog box − Properties of the OpenFileDialog Control If the ShowReadOnly property is set to True, then a read-only check box appears in the dialog box. The OpenFileDialog control class inherits from the abstract class FileDialog. The user can check if the file exists and then open it. The OpenFileDialog control prompts the user to open a file and allows the user to select a file to open.
0 Comments
Leave a Reply. |