|
event< common_dialog, help_event_handler > | help_request |
| Occurs when the user clicks the Help button on a common dialog box.
|
|
event< common_dialog, dialog_closed_event_handler > | dialog_closed |
| Occurs when the user close a common dialog box with dialog close button or other dialog buttons.
|
|
| file_dialog () |
| Initializes a new instance of the common_dialog class.
|
|
virtual bool | add_extension () const noexcept |
| Gets a value indicating whether the dialog box automatically adds an extension to a file name if the user omits the extension.
|
|
virtual file_dialog & | add_extension (bool value) |
| Sets a value indicating whether the dialog box automatically adds an extension to a file name if the user omits the extension.
|
|
virtual bool | auto_upgrade_enabled () const noexcept |
| Gets a value indicating whether this file_dialog instance should automatically upgrade appearance and behavior when running on Windows Vista.
|
|
virtual file_dialog & | auto_upgrade_enabled (bool value) |
| Sets a value indicating whether this file_dialog instance should automatically upgrade appearance and behavior when running on Windows Vista.
|
|
virtual bool | check_file_exists () const noexcept |
| Gets a value indicating whether the dialog box displays a warning if the user specifies a file name that does not exist.
|
|
virtual file_dialog & | check_file_exists (bool value) |
| Sets a value indicating whether the dialog box displays a warning if the user specifies a file name that does not exist.
|
|
virtual bool | check_path_exists () const noexcept |
| Gets a value indicating whether the dialog box displays a warning if the user specifies a path that does not exist.
|
|
virtual file_dialog & | check_path_exists (bool value) |
| Sets a value indicating whether the dialog box displays a warning if the user specifies a path that does not exist.
|
|
virtual const xtd::string & | default_ext () const noexcept |
| Gets the default file name extension.
|
|
virtual file_dialog & | default_ext (const xtd::string &value) |
| Sets the default file name extension.
|
|
virtual bool | dereference_link () const noexcept |
| Gets a value indicating whether the dialog box returns the location of the file referenced by the shortcut or whether it returns the location of the shortcut (.lnk).
|
|
virtual file_dialog & | dereference_link (bool value) |
| Sets a value indicating whether the dialog box returns the location of the file referenced by the shortcut or whether it returns the location of the shortcut (.lnk).
|
|
virtual const xtd::string & | file_name () const noexcept |
| Gets a string containing the file name selected in the file dialog box.
|
|
virtual file_dialog & | file_name (const xtd::string &value) |
| Sets a string containing the file name selected in the file dialog box.
|
|
virtual const std::vector< xtd::string > | file_names () const noexcept |
| Gets the file names of all selected files in the dialog box.
|
|
virtual const xtd::string & | filter () const noexcept |
| Gets the current file name filter string, which determines the choices that appear in the "Save as file type" or "Files of type" box in the dialog box.
|
|
virtual file_dialog & | filter (const xtd::string &value) |
| Sets the current file name filter string, which determines the choices that appear in the "Save as file type" or "Files of type" box in the dialog box.
|
|
virtual size_t | filter_index () const noexcept |
| Gets the index of the filter currently selected in the file dialog box.
|
|
virtual file_dialog & | filter_index (size_t value) |
| Sets the index of the filter currently selected in the file dialog box.
|
|
virtual const xtd::string & | initial_directory () const noexcept |
| Gets the initial directory displayed by the file dialog box.
|
|
virtual file_dialog & | initial_directory (const xtd::string &value) |
| Sets the initial directory displayed by the file dialog box.
|
|
size_t | options () const noexcept |
| Gets values to initialize the file_dialog.
|
|
virtual bool | restore_directory () const noexcept |
| Gets a value indicating whether the dialog box restores the directory to the previously selected directory before closing.
|
|
virtual file_dialog & | restore_directory (bool value) |
| Sets a value indicating whether the dialog box restores the directory to the previously selected directory before closing.
|
|
virtual bool | show_help () const noexcept |
| Gets a value indicating whether the Help button is displayed in the file dialog box.
|
|
virtual file_dialog & | show_help (bool value) |
| Sets a value indicating whether the Help button is displayed in the file dialog box.
|
|
virtual bool | show_hidden_files () const noexcept |
| Gets a value indicating whether hidden files are displayed in the file dialog box.
|
|
virtual file_dialog & | show_hidden_files (bool value) |
| Sets a value indicating whether hidden files are displayed in the file dialog box.
|
|
virtual bool | show_preview () const noexcept |
| Gets a value indicating whether preview file is displayed in the file dialog box.
|
|
virtual file_dialog & | show_preview (bool value) |
| Sets a value indicating whether preview file is displayed in the file dialog box.
|
|
virtual bool | support_multi_dotted_extensions () const noexcept |
| Gets whether the dialog box supports displaying and saving files that have multiple file name extensions.Gets or sets whether the dialog box supports displaying and saving files that have multiple file name extensions.
|
|
virtual file_dialog & | support_multi_dotted_extensions (bool value) |
| Sets whether the dialog box supports displaying and saving files that have multiple file name extensions.Gets or sets whether the dialog box supports displaying and saving files that have multiple file name extensions.
|
|
virtual const xtd::string & | title () const noexcept |
| Gets the file dialog box title.
|
|
virtual file_dialog & | title (const xtd::string &value) |
| Sets the file dialog box title.
|
|
virtual bool | validate_names () const noexcept |
| Gets a value indicating whether the dialog box accepts only valid file names.
|
|
virtual file_dialog & | validate_names (bool value) |
| Gets a value indicating whether the dialog box accepts only valid file names.
|
|
void | reset () noexcept override |
| Resets all properties to their default values.
|
|
xtd::string | to_string () const noexcept override |
| Provides a string version of this object.
|
|
| common_dialog () |
| Initializes a new instance of the common_dialog class.
|
|
xtd::forms::dialog_result | dialog_result () const noexcept |
| Gets async dialog_result result after dialog box is closing.
|
|
std::any | tag () const noexcept |
| Gets an object that contains data about the control.
|
|
common_dialog & | tag (const std::any &tag) |
| Sets an object that contains data about the control.
|
|
xtd::forms::dialog_result | show_dialog () |
| Runs a common dialog box with a default owner.
|
|
xtd::forms::dialog_result | show_dialog (const iwin32_window &owner) |
| Runs a common dialog box with the specified owner.
|
|
void | show_sheet (const iwin32_window &owner) |
| Runs a common dialog box with the specified owner.
|
|
xtd::forms::dialog_result | show_sheet_dialog (const iwin32_window &owner) |
| Runs a common dialog box with the specified owner.
|
|
| object ()=default |
| Create a new instance of the ultimate base class object.
|
|
virtual bool | equals (const object &obj) const noexcept |
| Determines whether the specified object is equal to the current object.
|
|
virtual size_t | get_hash_code () const noexcept |
| Serves as a hash function for a particular type.
|
|
virtual type_object | get_type () const noexcept |
| Gets the type of the current instance.
|
|
template<typename object_t > |
xtd::uptr< object_t > | memberwise_clone () const |
| Creates a shallow copy of the current object.
|
|
template<typename object_a_t , typename object_b_t > |
static bool | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| Determines whether the specified object instances are considered equal.
|
|
template<typename object_a_t , typename object_b_t > |
static bool | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| Determines whether the specified object instances are the same instance.
|
|
bool | run_dialog (intptr hwnd_owner) override |
| Runs file dialog box.
|
|
void | run_sheet (intptr hwnd_owner) override |
| Runs file dialog box in sheet mode.
|
|
virtual void | on_dialog_closed (const dialog_closed_event_args &e) |
| Raises the common_dialog::dialog_close event.
|
|
virtual void | on_help_request (help_event_args &e) |
| Raises the common_dialog::help_request event.
|
|
void | set_dialog_result (xtd::forms::dialog_result value) |
| Sets async dialog_result result after dialog box is closing.
|
|
| component () |
| Initialises a new instance of the component class.
|
|
virtual bool | can_raise_events () const noexcept |
| Gets a value indicating whether the component can raise an event.
|
|
bool | design_mode () const noexcept |
| Gets a value that indicates whether the component is currently in design mode.
|
|