Gets or sets a value indicating whether the read-only check box is selected.
[Visual Basic] Public Property ReadOnlyChecked As Boolean [C#] public bool ReadOnlyChecked {get; set;} [C++] public: __property bool get_ReadOnlyChecked(); public: __property void set_ReadOnlyChecked(bool); [JScript] public function get ReadOnlyChecked() : Boolean; public function set ReadOnlyChecked(Boolean);
true if the read-only check box is selected; otherwise, false. The default value is false.
ShowReadOnly must be invoked before this method in order for the read-only check box to appear in the dialog box.
OpenFileDialog Class | OpenFileDialog Members | System.WinForms Namespace | ShowReadOnly