Share via

FolderBrowserDialog.OkRequiresInteraction Property


Gets or sets a value indicating whether the OK button of the dialog box is disabled until the user navigates the view or edits the filename (if applicable).

 property bool OkRequiresInteraction { bool get(); void set(bool value); };
public bool OkRequiresInteraction { get; set; }
member this.OkRequiresInteraction : bool with get, set
Public Property OkRequiresInteraction As Boolean

Property Value


Note: Disabling of the OK button does not prevent the dialog from being submitted by the Enter key.

Applies to