| | |
| | | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
| | | xmlns:local="clr-namespace:WPFProject.UI.Test" |
| | | xmlns:vm="clr-namespace:WPFProject.ViewModels" |
| | | xmlns:dd="urn:gong-wpf-dragdrop"
|
| | | |
| | | mc:Ignorable="d" |
| | | HorizontalAlignment="Stretch" |
| | | HorizontalContentAlignment="Stretch" |
| | |
| | | <Grid> |
| | | <ListView ItemsSource="{Binding Programs}" ItemContainerStyle="{StaticResource a}" |
| | | VerticalContentAlignment="Center" |
| | | dd:DragDrop.IsDragSource="True"
|
| | | dd:DragDrop.IsDropTarget="True"
|
| | | dd:DragDrop.ShowAlwaysDropTargetAdorner="True"
|
| | | dd:DragDrop.UseDefaultDragAdorner="True"
|
| | | SelectionChanged="ListView_SelectionChanged"> |
| | | <ListView.ItemTemplate> |
| | | <DataTemplate> |