System.Windows.Forms.OpenFileDialog.ReadOnlyChecked Property

Gets or sets a value indicating whether the read-only check box is selected.

Syntax

[System.ComponentModel.DefaultValue(false)]
public bool ReadOnlyChecked { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The OpenFileDialog.ReadOnlyChecked state does not affect the read/write mode that OpenFileDialog.OpenFile uses to open a file selected in the dialog box. OpenFileDialog.OpenFile will always open the file in read-only mode.

The OpenFileDialog.ShowReadOnly property must be set before in order for the read-only check box to appear in the dialog box.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0