wpf 重新排序 StackPanel 子项拖放

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12645635/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-13 05:35:50  来源:igfitidea点击:

Reorder StackPanel Children Drag & Drop

c#wpf

提问by S3ddi9

I got a Stackpanel containing many buttons, so how can I reorder my buttons by draging & droping them like Expression Blend or "Visual Studio Xaml Window Designer" does

我有一个包含许多按钮的 Stackpanel,那么如何通过像 Expression Blend 或“Visual Studio Xaml Window Designer”那样拖放它们来重新排序我的按钮

enter image description here

在此处输入图片说明

采纳答案by Damian Schenkelman

This threadprovides some useful information. Nevertheless, there are a lot of resources that you can find in by searching which would provide a lot of information on this.

该线程提供了一些有用的信息。尽管如此,您可以通过搜索找到很多资源,这些资源将提供大量关于此的信息。