Permalink
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (26 sloc) 1.17 KB
<Window x:Class="DragDropSnippets.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">
<Grid>
<StackPanel>
<!-- <snippetEllipseXaml> -->
<Ellipse Height="50" Width="50" Fill="Green"
MouseMove="ellipse_MouseMove"
GiveFeedback="ellipse_GiveFeedback"
AllowDrop="True"
DragEnter="ellipse_DragEnter" DragLeave="ellipse_DragLeave"
DragOver="ellipse_DragOver" Drop="ellipse_Drop" />
<!-- </snippetEllipseXaml> -->
<Ellipse Height="50" Width="50" Fill="Red"
MouseMove="ellipse_MouseMove"
AllowDrop="True"
DragEnter="ellipse_DragEnter" DragLeave="ellipse_DragLeave"
DragOver="ellipse_DragOver" Drop="ellipse_Drop" />
<!-- <snippetRtbXAML> -->
<RichTextBox x:Name="richTextBox1"
AllowDrop="True" />
<!-- </snippetRtbXAML> -->
</StackPanel>
</Grid>
</Window>