// Copyright © 2010-2016 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; namespace CefSharp { /// /// CefFileDialogMode (Based on cef_file_dialog_mode_t) /// [Flags] public enum CefFileDialogMode { /// /// Requires that the file exists before allowing the user to pick it. /// Open = 0, /// /// Like Open, but allows picking multiple files to open. /// OpenMultiple, /// /// Like Open, but selects a folder to open. /// OpenFolder, /// /// Allows picking a nonexistent file, and prompts to overwrite if the file already exists. /// Save, /// /// General mask defining the bits used for the type values. /// TypeMask = 0xFF, /// /// Prompt to overwrite if the user selects an existing file with the Save dialog. /// OverwritePrompt = 0x01000000, /// /// Do not display read-only files. /// HideReadOnly = 0x02000000, } }