xtd - Reference Guide  0.1.0
Modern c++17 framework to create console, gui and unit test applications on Windows, macOS and Linux.
xtd::forms::folder_browser_dialog Class Reference
Inheritance diagram for xtd::forms::folder_browser_dialog:
xtd::forms::common_dialog xtd::forms::component

Public Member Functions

bool auto_upgrade_enable () const
 
folder_browser_dialogauto_upgrade_enable (bool value)
 
const std::string & description () const
 
folder_browser_dialogdescription (const std::string &value)
 
xtd::forms::dialog_result dialog_result () const
 
void reset () override
 Resets all options to their default values, the last selected color to black, and the custom colors to their default values. More...
 
environment::special_folder root_folder () const
 
folder_browser_dialogroot_folder (environment::special_folder value)
 
const std::string & selected_path () const
 
folder_browser_dialogselected_path (const std::string &value)
 
xtd::forms::dialog_result show_dialog ()
 Runs a common dialog box with a default owner. More...
 
xtd::forms::dialog_result show_dialog (const iwin32_window &owner)
 Runs a common dialog box with the specified owner. More...
 
void show_sheet (const iwin32_window &owner)
 Runs a common dialog box with the specified owner. More...
 
xtd::forms::dialog_result show_sheet_dialog (const iwin32_window &owner)
 Runs a common dialog box with the specified owner. More...
 
std::any tag () const
 Gets an object that contains data about the control. More...
 
common_dialogtag (const std::any &tag)
 Sets an object that contains data about the control. More...
 

Public Attributes

event< common_dialog, common_dialog_closed_event_handler< component & > > common_dialog_closed
 
event< common_dialog, help_event_handler< component & > > help_request
 Occurs when the user clicks the Help button on a common dialog box. More...
 

Protected Member Functions

virtual bool can_raise_events () const
 Gets a value indicating whether the component can raise an event. More...
 
bool design_mode () const
 Gets a value that indicates whether the component is currently in design mode. More...
 
virtual void on_common_dialog_closed (const common_dialog_closed_event_args &e)
 Raises the close event. More...
 
virtual void on_help_request (help_event_args &e)
 Raises the help_request event. More...
 
bool run_dialog (intptr_t owner) override
 When overridden in a derived class, specifies a common dialog box. More...
 
void run_sheet (intptr_t owner) override
 When overridden in a derived class, specifies a common dialog box. More...
 

The documentation for this class was generated from the following file: