wpf拖拽
简单拖拽的实现是,实现源控件的MouseDown事件,和目标控件Drop事件。调用DragDrop.DoDragDrop()以启动拖放操作,DragDrop.DoDragDrop()函数接受三个参数:dragSource、data以及allowedEffects。特别需要注意的 是dragSource参数。该参数标示了拖拽操作的消息源,也决定了所有的消息源事件由谁发出。参数data则用来包装Drag&Drop所操 作的数据。一般情况下,其都是一个DataObject类型的实例。该实例内部应包装拖拽所实际操作的数据。最后,allowedEffects可以用来 指定拖拽操作的效果。调用该函数的片断可以如下所示:
DragDrop.DoDragDrop(mListBox, dataObject, DragDropEffects.Copy);
例子1:从groupBox中拖动TextBlock控件到右侧Listbox中
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAj0AAAE7CAIAAAC5QqfWAAAACXBIWXMAABJ0AAASdAHeZh94AAAUrElEQVR42u3da29b52HAcX0DfQS/TaEvwBd7baDr1mad1g3tNqPd4G3EhmLD4AIbtq5xFuSeOq3bJFgtJ3EulmM7Sps08atuy8UbnMgxmtRh1tqOajuWRMvWxdfY2eHt6FwekiJFSpT8+4EBxMPDQ9oR+dfznIfW0C8AYOMYiv67CcAd4J27795Al+AfQbcAdEu3ANAt3QJAt3QLQLd0CwDd0i0AdEu3AAbdXZ3QLQB0K3X5vGGF23ULQLfWebyVT1TPo7Wqbr0wfnD/oZ/tP/jTtpd7H37iybEX9u0//NiP9r44fnBxcdE3HAPtfx7/QvRC3z5xauM81umJv1qzp8zgdKtXe/YwKslQ9SNaq+rW2NP7jr032ezy7nvHJyffnzz+/nuT7787ebyx/fiDj3z/woULvuHojdq7dZs37MZOK39T77AlTXev3XDXrqPhZ1Tdrltsrm4lc9WPaK2qWy8eOHT1+o0OLzejbp0/f943HD3uViAOmXj08029SXsaj9zkhqbPWLfY2N3q30hrtd0af+lw1KEDr7zzk/G39xx4a89Lb40denPs8H8/M/Hmb6fOX74099FHJ2uXubmLv3j3179T3Hv12nXdovfd2r59e9P37OoerXboYT4zIVqOauaR+zENqVu6ZbzVvlsHqt169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GOpVDoRtU260C3Qra66teKAdLJz3K1Q7FY4ngPdAt1a82613Qi6BbrVUbeGWkqEqpOdlxOViFXiy+hYW00UolugWz0Yb0XbCsFR0cp2Ttet0qn4fpUlG9VwVb7YsmO8ZOiFboFurXe3suOtxtXontWlhsNbi9tGTBeiW6Bbg9yteBw2XCiMWEqIboFudSrzKavWJ62OdLLzsVC3ank7Udk4NuHjW+gW6NZqR12FHk/cJbtVbnxaq76x7NNb6Bbo1iqaNTLU7SKJ6p2DCYrHc1uKxdHcIKz5/UC3QLfaNav7flT+RY36+sH4KLVihQ5a2TMehKWugG6BbrUTL0rvXQKbFjAefSkVugW6BegWuqVbgG6hW7oFugW6BegWuqVbgG6hW7oFugW6BegWuqVbgG6hW7oFugW6BegWuqVbgG6hW7oFugW6BegWuqVbgG6hW7oFugW6BegWuqVbgG6hW7oFugW6BegWuqVbgG6hW7oFugW6BegWuqVbgG6hW7oFugW6BegWuqVbgG6hW7oFugW6BegWuqVbgG6hW7oFugW6BegWuqVbgG6hW7oFugW6BegWuqVbgG6hW7oFugW6BegWuqVbgG6hW5358PQ5/29At2DDdOs356Y/++yW/z0wCG7fvn3yk/O6hW61Mj03P3Npwf8eGATzS1fPzszpFrrV5ue7X5+dnltYir7wPwnWcaQVRevjqQurnP/QLTZ/tyK3bt3+tHy5NPXpB6fO1i6nzs/GX2/6y8e/vXDn/GFdBvZy8pPz0Uhr9ZP20bvM3NylG9AL0ffSgHYL2DSidxkXl95edAuAjUS3ANAtANAtANAtAHQLAHQLAHQLAN0CAN0CAN0CQLcAQLcAQLcA0C0A0C0A0C0AdAsABqpbALBeOu4WAAwa3QJAtwBAtwBAtwDQLQDQLQCodwsANor/B8r04zygQmVxAAAAAElFTkSuQmCC" alt="" />
xmal:
<Grid>
<ListBox x:Name="listBox" Drop="listBox_Drop" HorizontalAlignment="Left" Height="" Margin="285,10,0,0" VerticalAlignment="Top" Width="" AllowDrop="True"/>
<GroupBox x:Name="groupBox" Header="GroupBox" MouseDown="TextBlock_MouseDown" HorizontalAlignment="Left" Margin="23,10,0,0" VerticalAlignment="Top" Height="" Width="">
<StackPanel Margin="">
<TextBlock Margin="" >足球</TextBlock>
<TextBlock Margin="">篮球</TextBlock>
<TextBlock Margin="">羽毛球</TextBlock>
<TextBlock Margin="">乒乓球</TextBlock>
</StackPanel>
</GroupBox> </Grid>
C#
private void TextBlock_MouseDown(object sender, MouseButtonEventArgs e)
{
TextBlock obj = (TextBlock)e.OriginalSource;
DragDrop.DoDragDrop(obj, obj.Text, DragDropEffects.Copy);
} private void listBox_Drop(object sender, DragEventArgs e)
{
string data = e.Data.GetData(DataFormats.Text).ToString();
listBox.Items.Add(data);
}
代码不难,自己应该可以看懂,这里不解释了.
例子2:从外部拖拽一个文件夹到窗体彩色框处,将显示文件夹地址和文件夹下所有文件信息
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAg0AAAGLCAIAAADLezabAAAACXBIWXMAABJ0AAASdAHeZh94AAAgAElEQVR42u19fahl13Xf/aN/FJJmoBBoKSiYkpIgTFsI5eIxhUIYnKZJnEh1S9x2aFqUZqhwU8oYWlpHtWskjz8iJxOPTa2nT8szkkZ+ij/kJ0HSsS07nSeN9DCxNWao3FewZM3TSJoPjaSE1/txzj17rf1ba+9z7rn3nnvv78exPPe+e87ZH2uv395r7XN+vT8lCIIgCBu9wf/eJgiCIGaAb7/3vUt0wCqQJwiCIMgT5AmCIAjyBHmCIAiCPEGeIAiCIE+QJwiCIMgT5AmCIAjyBHmCIAhiWfFzdUCeIAiCIE8smCf2S2R+T54gCIJYu/VETAmtk8RUPPHgqUdOnv7yyUf+OHl85OMnPrvx4P0nH/3UH939xVOPXLlyhQZHzBUvbP72cOTe+Z0pr/OdO1u5DLG8PNHWL1t04iExzIIkpuKJjXvu337mnHU8/cyz5849d+7Z554599zT554tv3/2Y5/4/ZdeeokGR7Tm6os/3LL5f9Qf/uzTP19+v5Q88cLmLeQk8kQ9qpgFSUzFE1986PQbb75V83h7wBM/+tGP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1NjZLAc7JusJ0lpk8IUuHGiqOaKc6VfnegtBcX4kZDvdDvVrkes2GnZ3j/mD5bVrM5QmrX+vxREZ0yLQKeykb1YY0MWueGOD5558/ffo0JIkuPz+hZmiFuVS7L+IJh1xR2EFWnXEMVspiWnkIj5yr28eOhsHtyAsAJyBzfrJ8IFvcMk+ML9Lv98P89WCeLoP08UBM84SZLwEp432Ujz5cMAJq0iiM4SdOvCVBD+5QSNci22tO0dnI6LCJ+rPxfJ6A+ehmPGFkm2H5NUOqFHgv3tu2i82ImAVPLPPz2DKibea5wODBZ8aBZJR4gPv/tmGp8FZYuQmp2s8JY9nFxtRZ8gRMR2pHEUfJM3giStkmn8fGu0dRk8rb4X1geF8sCKps+ds0g1gc2Bmck59o1Nm+0ZmtGK2Oa/KEKtJoE3bD9cTR43BbLCp/NF0Lt73Gz08cP8ZtseSJPJ6ogc48qzbls9lLh47XN3OvzPxq0UYQZd1sjCBPrJzD6ujT1Wta39w9lfOqRTt7PNfNxgjyBEF03S9Pdf++EfAjCPIEeYIgT0zIgbF2ohM8QT07giAIwuOJpdTHvnRpeG+CIAii4xi468XwBA8ePHjwWKJj3jxBEARBLDvIEwRBEAR5giAIgpgzTxAEQRDrg9o8QRAEQRDkCYIgCII8QRAEQZAnCIIgCPIEQRAEQZ4gCIIgyBMEQRDEkvEEQRAEQVj4/5lY0WtEjbVhAAAAAElFTkSuQmCC" alt="" />
代码如下:
<Grid Drop="textBox_Drop">
<TextBlock x:Name="textBlock" Text="文件夹:" HorizontalAlignment="Left" Margin="10,35,0,0" TextWrapping="Wrap" VerticalAlignment="Top"/>
<ListBox x:Name="listBox" HorizontalAlignment="Left" Height="" Margin="10,100,0,0" VerticalAlignment="Top" Width=""/>
<TextBlock x:Name="textBlock1" HorizontalAlignment="Left" Margin="10,72,0,0" TextWrapping="Wrap" Text="文件夹下文件:" VerticalAlignment="Top"/>
<TextBlock x:Name="textBlock2" HorizontalAlignment="Left" Margin="10,10,0,0" TextWrapping="Wrap" Text="请拖动文件夹到彩色框中" VerticalAlignment="Top"/>
<TextBlock x:Name="txtfloder" HorizontalAlignment="Left" Margin="63,31,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="" Background="#FFCEDA41" Height=""/>
</Grid>
private void textBox_Drop(object sender, DragEventArgs e)
{
if (e.Data.GetDataPresent(DataFormats.FileDrop))
{
listBox.Items.Clear();
string floder = ((System.Array)e.Data.GetData(DataFormats.FileDrop)).GetValue().ToString();
if (Directory.Exists(floder))
{
txtfloder.Text = floder.ToString(); foreach (var item in Directory.GetFiles(floder))
{
listBox.Items.Add(item);
}
}
else
txtfloder.Text = "无效文件夹";
}
}
例子3:把园从左拖动到右侧 aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmAAAAGCCAIAAADIbeiTAAAACXBIWXMAABJ0AAASdAHeZh94AAAbIklEQVR42u3dCXTUhYHH8emb90YShSblJkgElkNWkbOCHFaUQzDigYiLQEGMIqI1D0QapXhwKYRI2mxhK5gWKyAQEEXBbbu6haJPDl91PXARhJVVLuUWdt/uHwKYhEQ5kpCZfH7v0/dkEpI6D/L1P/Of/4T+zczMzE5ZKPjfETMzs5Lb3266KYoU+a8gkGZmJpACaWZmAimQZmYmkAJpZmYCKZBmZiaQAmlmZgIpkGZmdt7W9EwmkGZmJpDnJ5D/d2KnebtAmplZRTmCPLWFJV7Hcwrki/MXzlv0yryFS3/QU1N+O2P2i3Pm5U7Lfn7u/IX79u3zB84qyjYtuefoD41nV5/j11n9bIl8GbOzC2RJfWYJ1it/EUujjucUyNk5c95du644a9auX7fuvXXr31u77r0169afuH3901Mzv/zyS3/gLBYad/wDqUs+K/SBt6dfeuL26ArkpiWp+Q4F5NjKcyDzd7E06nhOgZz70qKD3x4+Q0eCQG7bts0fOIuBQh6/ubgPnNrN8h3IgnEUSYuCQJbeseO5BnL+gtwgeC+9/Lfn5q+a9dLKWQtWzl7019m5//77JX/dumXbN1/v/vjjj/Ls3r3r39b8Z8f7nj946FuBtChcviPCU249tS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JmZmRXa/wOEFzdxpkATkgAAAABJRU5ErkJggg==" alt="" />
<Grid>
<Canvas Name="canvas1" HorizontalAlignment="Left" Height="259" Margin="10,10,0,0" VerticalAlignment="Top" Width="228" Background="#FFEBEABC">
<Ellipse Name="ell" PreviewMouseDown="ell_PreviewMouseMove" PreviewMouseMove="ell_PreviewMouseMove" Fill="#FF9595E5" Height="100" Canvas.Left="28" Stroke="Black" Canvas.Top="23" Width="100"/>
</Canvas>
<Canvas Name="canvas2" Drop="c2_Drop" DragOver="canvas2_DragOver" HorizontalAlignment="Left" Height="259" Margin="256,10,0,0" VerticalAlignment="Top" Width="214" Background="#FFEDE2E2" AllowDrop="True"/> </Grid>
private void ell_PreviewMouseMove(object sender, MouseEventArgs e)
{
if (e.LeftButton == MouseButtonState.Pressed)
{
DataObject obj = new DataObject(typeof(Ellipse), ell);
DragDrop.DoDragDrop(this.ell, obj, DragDropEffects.Move);
}
}
private void c2_Drop(object sender, DragEventArgs e)
{
if (e.Data.GetDataPresent(typeof(Ellipse)))
{
Ellipse obj = e.Data.GetData(typeof(Ellipse)) as Ellipse;
canvas1.Children.Remove(obj);
canvas2.Children.Add(obj);
}
} private void canvas2_DragOver(object sender, DragEventArgs e)
{
if (!e.Data.GetDataPresent(typeof(Ellipse)))
{
e.Effects = DragDropEffects.None;
e.Handled = true; }
}
这里的事件 PreviewMouseDown="ell_PreviewMouseMove" PreviewMouseMove="ell_PreviewMouseMove" ,可以只写其中一个即可。
详细查看msdn:https://msdn.microsoft.com/zh-cn/library/hh144799%28v=vs.110%29.aspx
wpf拖拽的更多相关文章
- WPF拖拽文件(拖入拖出),监控拖拽到哪个位置,类似百度网盘拖拽
1.往wpf中拖文件 // xaml <Grid x:Name="grid_11" DragOver="Grid_11_DragOver" Drop=&q ...
- 【WPF】拖拽ListBox中的Item
整理了两个关于WPF拖拽ListBox中的Item的功能.项目地址 https://github.com/Guxin233/WPF-DragItemInListBox 需求一: 两个ListBox,拖 ...
- wpf图片查看器,支持鼠标滚动缩放拖拽
最近项目需要,要用到一个图片查看器,类似于windows自带的图片查看器那样,鼠标滚动可以缩放,可以拖拽图片,于是就写了这个简单的图片查看器. 前台代码: <Window x:Class=&qu ...
- WPF如何实现拖拽打开文件(将文件拖进窗体打开)
在WPF中的实现和WinForm中的实现99%相似,将要实现接受拖拽释放的控件添加DragEnter事件和Drop事件,本例中控件Grid grid作为接受控件,添加事件操作如下: private v ...
- WPF.UIShell UIFramework之自定义窗口的深度技术 - 模态闪动(Blink)、窗口四边拖拽支持(WmNCHitTest)、自定义最大化位置和大小(WmGetMinMaxInfo)
无论是在工作和学习中使用WPF时,我们通常都会接触到CustomControl,今天我们就CustomWindow之后的一些边角技术进行探讨和剖析. 窗口(对话框)模态闪动(Blink) 自定义窗口的 ...
- WPF中元素拖拽的两个实例
今天结合之前做过的一些拖拽的例子来对这个方面进行一些总结,这里主要用两个例子来说明在WPF中如何使用拖拽进行操作,元素拖拽是一个常见的操作,第一个拖拽的例子是将ListBox中的子元素拖拽到ListV ...
- WPF Item拖拽 DragDrop
今天有个需求是需要拖拽DataGrid中的item到另一个DataGrid.自己实现还比较繁琐,网上查了查,发现一个不错的开源项目 gong-wpf-dragdrop nuget安装下:Install ...
- 【C#/WPF】用Thumb做可拖拽的UI控件
需求:简单的可拖拽的图片 使用System.Windows.Controls.Primitives.Thumb类 前台: <Canvas x:Name="g"> < ...
- 【C#/WPF】GridSplitter 分割布局,拖拽控件分隔栏以改变控件尺寸
需求:界面由多部分控件组成,想要拖拽控件之间的分隔栏以改变尺寸. MainWindow.xaml: <Grid> <Grid.ColumnDefinitions> <Co ...
随机推荐
- vim 版本更新
sudo add-apt-repository ppa:jonathonf/vim sudo apt update sudo apt install vim 如果您想要卸载它, 请使用如下命令 sud ...
- MooseFS及其高可用部署
MooseFS的工作原理分析 MooseFS(下面统一称为MFS)由波兰公司Gemius SA于2008年5月30日正式推出的一款Linux下的开源存储系统,是OpenStack开源云计算项目的子项目 ...
- 【Hutool】Hutool工具类之String工具——StrUtil
类似的是commons-lang中的StringUtils 空与非空的操作——经典的isBlank/isNotBlank.isEmpty/isNotEmpty isBlank()——是否为空白,空白的 ...
- 使用OpenLayers发布地图
OpenLayers是用于制作交互式Web地图的开源客户端JavaScript类库,制作的地图几乎可以在所有的浏览器中查看.因为是客户端类库,它不需要特殊的服务器端软件或配置,甚至不用下载任何东西就可 ...
- golang 仿python pack/unpack
写得不完善也不完美 尤其是高低位转换那(go和c 二进制高地位相反 需要转换,还有go int转[]byte长度是4位),希望牛人看后指导一下 项目需要通过socket调取 客户端是go ,服务器端是 ...
- 根据wsdl生成服务端代码
场景描述 最近在和一家公司做业务接口对接,由他们那边回调我们这边,对方直接扔过来一个webservice的wsdl文件,让我们按照他们的规范来做webservice服务, 大多数的对接应该是我们创建完 ...
- mysql优化理解笔记(持续更新)
主要包括存储引擎.索引.sql语句 一.存储引擎 目前最常见的是InnoDB和MyISAM两个存储引擎 (1)InnoDB:支持事务处理,提供行级锁.外键约束索引,行锁 (2)MyISAM:支持全文搜 ...
- GIt学习第一天之安装和版本库创建
搬运自 ‘廖雪峰的官方网站’ 1.git安装 官网下载地址:https://git-scm.com/download/win 百度网盘下载地址:https://pan.baidu.com/s/1k ...
- 使用httpClient获取请求cookie
package mytest; import java.util.ArrayList; import java.util.List; import org.apache.http.NameValueP ...
- JDBC中使用Properties类及配置文件的操作
同时发布于:https://blog.csdn.net/Activity_Time/article/details/81149710 一.properties配置文件 开发中获得连接的4个参数(驱动. ...