diff --git a/PacticeSolution/ClassInitInXaml/App.xaml b/PacticeSolution/ClassInitInXaml/App.xaml
new file mode 100644
index 0000000..79ef411
--- /dev/null
+++ b/PacticeSolution/ClassInitInXaml/App.xaml
@@ -0,0 +1,9 @@
+
+
+
+
+
diff --git a/PacticeSolution/ClassInitInXaml/App.xaml.cs b/PacticeSolution/ClassInitInXaml/App.xaml.cs
new file mode 100644
index 0000000..8755048
--- /dev/null
+++ b/PacticeSolution/ClassInitInXaml/App.xaml.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows;
+
+namespace ClassInitInXaml
+{
+ ///
+ /// Interaction logic for App.xaml
+ ///
+ public partial class App : Application
+ {
+ }
+}
diff --git a/PacticeSolution/ClassInitInXaml/AssemblyInfo.cs b/PacticeSolution/ClassInitInXaml/AssemblyInfo.cs
new file mode 100644
index 0000000..8b5504e
--- /dev/null
+++ b/PacticeSolution/ClassInitInXaml/AssemblyInfo.cs
@@ -0,0 +1,10 @@
+using System.Windows;
+
+[assembly: ThemeInfo(
+ ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
+ //(used if a resource is not found in the page,
+ // or application resource dictionaries)
+ ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
+ //(used if a resource is not found in the page,
+ // app, or any theme specific resource dictionaries)
+)]
diff --git a/PacticeSolution/ClassInitInXaml/ClassInitInXaml.csproj b/PacticeSolution/ClassInitInXaml/ClassInitInXaml.csproj
new file mode 100644
index 0000000..4106cb0
--- /dev/null
+++ b/PacticeSolution/ClassInitInXaml/ClassInitInXaml.csproj
@@ -0,0 +1,10 @@
+
+
+
+ WinExe
+ net6.0-windows
+ enable
+ true
+
+
+
diff --git a/PacticeSolution/ClassInitInXaml/MainWindow.xaml b/PacticeSolution/ClassInitInXaml/MainWindow.xaml
new file mode 100644
index 0000000..ffed88f
--- /dev/null
+++ b/PacticeSolution/ClassInitInXaml/MainWindow.xaml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/PacticeSolution/ClassInitInXaml/MainWindow.xaml.cs b/PacticeSolution/ClassInitInXaml/MainWindow.xaml.cs
new file mode 100644
index 0000000..608ae5d
--- /dev/null
+++ b/PacticeSolution/ClassInitInXaml/MainWindow.xaml.cs
@@ -0,0 +1,28 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace ClassInitInXaml
+{
+ ///
+ /// Interaction logic for MainWindow.xaml
+ ///
+ public partial class MainWindow : Window
+ {
+ public MainWindow()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/PacticeSolution/ClassInitInXaml/Person.cs b/PacticeSolution/ClassInitInXaml/Person.cs
new file mode 100644
index 0000000..bff34ce
--- /dev/null
+++ b/PacticeSolution/ClassInitInXaml/Person.cs
@@ -0,0 +1,14 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ClassInitInXaml
+{
+ public class Person
+ {
+ public string Name { get; set; }
+ public int Age { get; set; }
+ }
+}
diff --git a/PacticeSolution/PacticeSolution.sln b/PacticeSolution/PacticeSolution.sln
index 2079efa..50fd8f2 100644
--- a/PacticeSolution/PacticeSolution.sln
+++ b/PacticeSolution/PacticeSolution.sln
@@ -111,6 +111,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ListViewEditSample", "ListV
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DelegateEventFuncAction", "DelegateEventFuncAction\DelegateEventFuncAction.csproj", "{52E7C139-F78C-4947-BB09-58D4BFF72435}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClassInitInXaml", "ClassInitInXaml\ClassInitInXaml.csproj", "{4D5438AC-CDD0-4975-8D0A-F1BBF49F4EE5}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -333,6 +335,10 @@ Global
{52E7C139-F78C-4947-BB09-58D4BFF72435}.Debug|Any CPU.Build.0 = Debug|Any CPU
{52E7C139-F78C-4947-BB09-58D4BFF72435}.Release|Any CPU.ActiveCfg = Release|Any CPU
{52E7C139-F78C-4947-BB09-58D4BFF72435}.Release|Any CPU.Build.0 = Release|Any CPU
+ {4D5438AC-CDD0-4975-8D0A-F1BBF49F4EE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {4D5438AC-CDD0-4975-8D0A-F1BBF49F4EE5}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {4D5438AC-CDD0-4975-8D0A-F1BBF49F4EE5}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {4D5438AC-CDD0-4975-8D0A-F1BBF49F4EE5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE