[UWP]创建和删除文件夹。将文件移动到文件夹并将文件移动到文件夹外部 [英] [UWP] Create and Delete Folder. Move the file to folder and move the file to outside of the folder

查看:129
本文介绍了[UWP]创建和删除文件夹。将文件移动到文件夹并将文件移动到文件夹外部的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含文件和文件夹的gridview。我想如果用户点击了"添加文件夹",那么它将创建一个文件夹,其中包含用户想要的文件夹名称。

用户还可以通过选择将文件移动到所需的文件夹中"移动到文件夹"到用户想要的文件夹(显示的菜单文件夹名称可用,菜单也取消)。用户还可以移动文件夹外的文件夹。

用户还可以删除可用文件夹(如果文件夹中没有可用文件)。



如何申请?

是否有任何参考?

解决方案

嗨!


你能分享你的XAML代码吗?


我知道如何做到这一点,但是使用你的XAML代码,你会更容易回答你的问题。


I have a gridview that contains files and folders. I would like if the user clicked the "add folder", then it will create a folder with the name of the folder the user wants.
Users can also move the files into the desired folder by selecting the "move to folder" to folder the user wants (displayed menu folder names available and also menu canceled). Users can also move files that are in the folder, outside of the folder.
Users can also delete folders available (if no files available in the folder).

How to apply?
Is there any reference to it?

解决方案

Hi!

Can you share your XAML code please?

I know how to do this but with your XAML code it will be easier to answer your question.


这篇关于[UWP]创建和删除文件夹。将文件移动到文件夹并将文件移动到文件夹外部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆