public static NavDialog CreateNewFolderDialog (NavDialogCreationOptions options)	
		{
			NavDialog dialog = new NavDialog ();
			CheckReturn (NavCreateNewFolderDialog (ref options.data, new NavEventUPP (),
			                                                   IntPtr.Zero, out dialog.ptr));
			return dialog;
		}
		public static NavDialog CreateChooseFileDialog (NavDialogCreationOptions options)	
		{
			NavDialog dialog = new NavDialog ();
			CheckReturn (NavCreateChooseFileDialog (ref options.data, IntPtr.Zero, new NavEventUPP (), new NavPreviewUPP (),
			                                                    new NavObjectFilterUPP (), IntPtr.Zero, out dialog.ptr));
			return dialog;
		}
        public static NavDialogCreationOptions NewFromDefaults()
        {
            var options = new NavDialogCreationOptions();

            NavDialog.CheckReturn(NavGetDefaultDialogCreationOptions(out options.data));
            return(options);
        }
        public static NavDialog CreateNewFolderDialog(NavDialogCreationOptions options)
        {
            NavDialog dialog = new NavDialog();

            CheckReturn(NavCreateNewFolderDialog(ref options.data, new NavEventUPP(),
                                                 IntPtr.Zero, out dialog.ptr));
            return(dialog);
        }
        public static NavDialog CreateChooseFileDialog(NavDialogCreationOptions options)
        {
            NavDialog dialog = new NavDialog();

            CheckReturn(NavCreateChooseFileDialog(ref options.data, IntPtr.Zero, new NavEventUPP(), new NavPreviewUPP(),
                                                  new NavObjectFilterUPP(), IntPtr.Zero, out dialog.ptr));
            return(dialog);
        }