Add drag/drop handling
This commit is contained in:
@@ -2,8 +2,13 @@
|
||||
x:Class="TheXamlGuy.TaskbarGroup.Flyout.TaskbarButtonGroupView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:foundation="using:TheXamlGuy.TaskbarGroup.Flyout.Foundation"
|
||||
xmlns:interactivity="using:Microsoft.Xaml.Interactivity"
|
||||
AllowDrop="True">
|
||||
<StackPanel>
|
||||
<interactivity:Interaction.Behaviors>
|
||||
<foundation:DropTarget Mediator="{x:Bind ViewModel.Mediator}" />
|
||||
</interactivity:Interaction.Behaviors>
|
||||
<StackPanel AllowDrop="True" Background="Red">
|
||||
<TextBox HorizontalAlignment="Stretch" Text="{x:Bind ViewModel.Name, Mode=TwoWay}" />
|
||||
<GridView
|
||||
x:Name="GridView"
|
||||
@@ -30,5 +35,4 @@
|
||||
</GridView.ItemsPanel>
|
||||
</GridView>
|
||||
</StackPanel>
|
||||
|
||||
</UserControl>
|
||||
Reference in New Issue
Block a user