6 #include <xtd/forms/open_file_name_flags> 14 class open_file_dialog;
15 class save_file_dialog;
59 virtual bool add_extension()
const noexcept;
69 virtual bool auto_upgrade_enabled()
const noexcept;
75 virtual file_dialog& auto_upgrade_enabled(
bool value);
89 virtual bool check_path_exists()
const noexcept;
98 virtual const xtd::ustring& default_ext()
const noexcept;
130 virtual const std::vector<xtd::ustring> file_names()
const noexcept;
156 virtual size_t filter_index()
const noexcept;
171 virtual const xtd::ustring& initial_directory()
const noexcept;
185 size_t options()
const noexcept;
259 void reset() noexcept
override;
274 bool run_dialog(
intptr hwnd_owner)
override;
277 void run_sheet(
intptr hwnd_owner)
override;
281 bool get_option(
size_t flag)
const noexcept;
282 void set_option(
size_t flag,
bool value);
288 virtual bool run_file_dialog(
intptr hwnd_owner) = 0;
289 virtual void run_file_sheet(
intptr hwnd_owner) = 0;
291 std::shared_ptr<data> data_;
intmax_t intptr
Represent a pointer or a handle.
Definition: types.h:151
Contains xtd::forms::common_dialog class.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
std::string to_string(const date_time &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition: date_time.h:1063