xtd 0.2.0
open_file_box_options.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/enum>
6 
8 namespace xtd {
10  namespace forms {
20  enum class open_file_box_options {
22  none = 0b0,
24  check_file_exists = 0b1,
26  dereference_link = 0b10,
28  validate_names = 0b100,
30  restore_directory = 0b1000,
32  enable_auto_upgrade = 0b10000,
34  show_hidden_files = 0b100000,
36  show_help = 0b1000000,
38  show_preview = 0b10000000,
40  support_multi_dotted_extensions = 0b100000000,
42  all = check_file_exists | dereference_link | validate_names | restore_directory | enable_auto_upgrade | show_hidden_files | show_help | show_preview | support_multi_dotted_extensions
43  };
44  }
45 }
46 
49 
50 template<> struct xtd::enum_register<xtd::forms::open_file_box_options> {
52 };
Whether the dialog box displays a warning if the user specifies a file name that does not exist...
Whether the dialog box supports displaying and saving files that have multiple file name extensions...
Whether this xtd::forms::file_dialog instance should automatically upgrade appearance and behavior wh...
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Whether the dialog box restores the directory to the previously selected directory before closing...
open_file_box_options
Specifies options on a xtd::forms::open_file_box.
Definition: open_file_box_options.h:20
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition: enum_collection.h:19
Whether preview file is displayed in the file dialog box.
Whether hidden files are displayed in the file dialog box.
Whether the dialog box accepts only valid file names.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
Whether the dialog box returns the location of the file referenced by the shortcut (...
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition: flags_attribute.h:34
Whether the Help button is displayed in the file dialog box.
Provides the registration struct for enumerations.
Definition: enum_register.h:36