<Window x:Class="RoutedEvents.DragAndDrop"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="DragAndDrop" Height="257.6" Width="392.8"
>
<Grid Margin="5">
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
</Grid.ColumnDefinitions>
<TextBox Padding="10" VerticalAlignment="Center" HorizontalAlignment="Center">Drag from this TextBox</TextBox>
<Label Grid.Column="1" Padding="20" Background="LightGoldenrodYellow"
WPF Drag and Drop [Form WPF编程宝典]
最新推荐文章于 2023-09-02 18:06:07 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)