首页 > 技术文章 > WPF拖动总结

robertyao 2019-01-10 17:57 原文

 

https://www.cnblogs.com/DebugLZQ/archive/2013/05/07/3062733.html

 

<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"       
        xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" 
        xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions"  x:Class="WPFDragMoveBlend.MainWindow"       
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <Rectangle Fill="Red" Stroke="Black" Margin="145,82,164,50" Width="200" Height="180" >            
            <i:Interaction.Behaviors>
                <ei:MouseDragElementBehavior/>
            </i:Interaction.Behaviors>
        </Rectangle>
    </Grid>
</Window>

中小研发团队架构实践之系列大纲

 https://www.cnblogs.com/dotnet-arch-system/p/10196348.html

推荐阅读