Ejemplo n.º 1
0
        /// <summary>
        /// Native open folder dialog
        /// <para>NOTE: Multiple folder selection isn't supported on Windows</para>
        /// </summary>
        /// <param name="title"></param>
        /// <param name="directory">Root directory</param>
        /// <param name="multiselect">Allow selection of multiple folders.</param>
        /// <returns>Returns array of chosen paths or zero length array when cancelled.</returns>
        public static string[] OpenFolderPanel(string title, string directory, bool multiselect)
        {
            if (m_PlatformWrapper == null)
            {
                Initalize();
            }

            return(m_PlatformWrapper.OpenFolderPanel(title, directory, multiselect));
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Native open folder dialog
 /// NOTE: Multiple folder selection doesn't supported on Windows
 /// </summary>
 /// <param name="title"></param>
 /// <param name="directory">Root directory</param>
 /// <param name="multiselect"></param>
 /// <returns>Returns array of chosen paths. Zero length array when cancelled</returns>
 public static string[] OpenFolderPanel(string title, string directory, bool multiselect)
 {
     return(_platformWrapper.OpenFolderPanel(title, directory, multiselect));
 }
Ejemplo n.º 3
0
 /// <summary>
 ///     Native open folder dialog
 ///     NOTE: Multiple folder selection doesn't supported on Windows
 /// </summary>
 /// <param name="title"></param>
 /// <param name="directory">Root directory</param>
 /// <param name="multiSelect"></param>
 /// <returns>Returns array of chosen paths. Zero length array when cancelled</returns>
 public static string[] OpenFolderPanel(string title, string directory, bool multiSelect) =>
 PlatformWrapper.OpenFolderPanel(title, directory, multiSelect);
Ejemplo n.º 4
0
 /// <summary>
 /// Native open folder dialog
 /// </summary>
 /// <param name="title"></param>
 /// <param name="directory">Root directory</param>
 /// <param name="multiselect"></param>
 /// <returns>Returns array of chosen items. Zero length array when cancelled</returns>
 public static IList <ItemWithStream> OpenFolderPanel(string title, string directory, bool multiselect)
 {
     return(_platformWrapper.OpenFolderPanel(title, directory, multiselect));
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Native open folder dialog
 /// NOTE: Multiple folder selection doesn't supported on Windows
 /// </summary>
 /// <param name="_title"></param>
 /// <param name="_directory">Root directory</param>
 /// <param name="_isMultiselect"></param>
 /// <returns>Returns array of chosen paths. Zero length array when cancelled</returns>
 public static string[] OpenFolderPanel(string _title, string _directory, bool _isMultiselect)
 {
     return(_platformWrapper.OpenFolderPanel(_title, _directory, _isMultiselect));
 }