From 25dd2203bb3b995d73c43733b3aaa049ec28b4a9 Mon Sep 17 00:00:00 2001
From: chr <chrry550@163.com>
Date: 星期二, 12 三月 2024 09:42:43 +0800
Subject: [PATCH] 初版Step运行代码;

---
 UI/Test/ProgramList.xaml |   69 ++++++++++++++++++----------------
 1 files changed, 36 insertions(+), 33 deletions(-)

diff --git a/UI/Test/ProgramList.xaml b/UI/Test/ProgramList.xaml
index c6bae47..8acb0ab 100644
--- a/UI/Test/ProgramList.xaml
+++ b/UI/Test/ProgramList.xaml
@@ -1,33 +1,36 @@
-锘�<UserControl x:Class="WPFProject.UI.Test.ProgramList"
-             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
-             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
-             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
-             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
-             xmlns:local="clr-namespace:WPFProject.UI.Test"
-             xmlns:vm="clr-namespace:WPFProject.ViewModels"
-             mc:Ignorable="d" 
-             HorizontalAlignment="Stretch"
-             HorizontalContentAlignment="Stretch"
-             Background="#FFF" >
-    <UserControl.Resources>
-        <ResourceDictionary>
-            <ResourceDictionary.MergedDictionaries>
-                <ResourceDictionary Source="/WPFProject;component/Style/ListViewStyle.xaml"/>
-            </ResourceDictionary.MergedDictionaries>
-
-            <Style TargetType="Label"></Style>
-        </ResourceDictionary>
-    </UserControl.Resources>
-    
-    <Grid>
-        <ListView ItemsSource="{Binding Programs}" ItemContainerStyle="{StaticResource a}" 
-                  VerticalContentAlignment="Center"
-                  SelectionChanged="ListView_SelectionChanged">
-            <ListView.ItemTemplate>
-                <DataTemplate>
-                    <ContentControl Content="{Binding Name}"/>
-                </DataTemplate>
-            </ListView.ItemTemplate>
-        </ListView>
-    </Grid>
-</UserControl>
+锘�<UserControl x:Class="WPFProject.UI.Test.ProgramList"
+             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
+             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"
+             Background="#FFF" >
+    <UserControl.Resources>
+        <ResourceDictionary>
+            <ResourceDictionary.MergedDictionaries>
+                <ResourceDictionary Source="/WPFProject;component/Style/ListViewStyle.xaml"/>
+            </ResourceDictionary.MergedDictionaries>
+
+            <Style TargetType="Label"></Style>
+        </ResourceDictionary>
+    </UserControl.Resources>
+    
+    <Grid>
+        <ListView ItemsSource="{Binding Programs}" ItemContainerStyle="{StaticResource a}" 
+                  VerticalContentAlignment="Center"
+        
+                  SelectionChanged="ListView_SelectionChanged">
+            <ListView.ItemTemplate>
+                <DataTemplate>
+                    <ContentControl Content="{Binding Name}"/>
+                </DataTemplate>
+            </ListView.ItemTemplate>
+        </ListView>
+    </Grid>
+</UserControl>

--
Gitblit v1.9.1