/// <summary> /// Shows the open folder dialog using provided additional <paramref name="message"/>. /// </summary> /// <remarks> /// The initial folder is not set and the dialog caption is set to `Open Folder`. /// Furthermore, the dialog window is centered on screen. /// </remarks> /// <param name="message"> /// The message to be displayed. /// </param> /// <returns> /// The information of selected directory or null in case of cancellation. /// </returns> public static DirectoryInfo Show(String message) { return(OpenFolderDialog.Show(null, message, null, null)); }
/// <summary> /// Just shows the open folder dialog with default settings. /// </summary> /// <remarks> /// No additional message is shown, the initial folder is not set and /// the dialog caption is set to `Open Folder`. Furthermore, the dialog /// window is centered within the <paramref name="owner"/>'s bounds. /// </remarks> /// <param name="owner"> /// The owner of the dialog box. /// </param> /// <returns> /// The information of selected directory or null in case of cancellation. /// </returns> public static DirectoryInfo Show(Window owner) { return(OpenFolderDialog.Show(owner, null, null, null)); }
/// <summary> /// Just shows the open folder dialog with default settings. /// </summary> /// <remarks> /// No additional message is shown, the initial folder is not set and /// the dialog caption is set to `Open Folder`. Furthermore, the dialog /// window is centered on screen. /// </remarks> /// <returns> /// The information of selected directory or null in case of cancellation. /// </returns> public static DirectoryInfo Show() { return(OpenFolderDialog.Show(null, null, null, null)); }
/// <summary> /// Shows the open folder dialog using provided additional <paramref name="message"/> /// as well as provided <paramref name="caption"/> as well as pre-selects provided /// <paramref name="folder"/>. /// </summary> /// <remarks> /// The dialog window is centered on screen. /// </remarks> /// <param name="message"> /// The message to be displayed. /// </param> /// <param name="caption"> /// The dialog box caption to be used. /// </param> /// <param name="folder"> /// The directory information to be used as initial folder. /// </param> /// <returns> /// The information of selected directory or null in case of cancellation. /// </returns> public static DirectoryInfo Show(String message, String caption, DirectoryInfo folder) { return(OpenFolderDialog.Show(null, message, caption, folder)); }
/// <summary> /// Shows the open folder dialog using provided additional <paramref name="message"/> /// as well as pre-selects provided <paramref name="folder"/>. /// </summary> /// <remarks> /// The dialog caption is set to `Open Folder`. Furthermore, the dialog window is /// centered within the <paramref name="owner"/>'s bounds. /// </remarks> /// <param name="owner"> /// The owner of the dialog box. /// </param> /// <param name="message"> /// The message to be displayed. /// </param> /// <param name="folder"> /// The directory information to be used as initial folder. /// </param> /// <returns> /// The information of selected directory or null in case of cancellation. /// </returns> public static DirectoryInfo Show(Window owner, String message, DirectoryInfo folder) { return(OpenFolderDialog.Show(owner, message, null, folder)); }
/// <summary> /// Shows the open folder dialog using provided additional <paramref name="message"/> /// as well as provided <paramref name="caption"/>. /// </summary> /// <remarks> /// The initial folder is not set. Furthermore, the dialog window is centered within /// the <paramref name="owner"/>'s /// bounds. /// </remarks> /// <param name="owner"> /// The owner of the dialog box. /// </param> /// <param name="message"> /// The message to be displayed. /// </param> /// <param name="caption"> /// The dialog box caption to be used. /// </param> /// <returns> /// The information of selected directory or null in case of cancellation. /// </returns> public static DirectoryInfo Show(Window owner, String message, String caption) { return(OpenFolderDialog.Show(owner, message, caption, null)); }