test: 测试 MVVM 模式与绑定

This commit is contained in:
2025-01-24 01:17:06 +08:00
parent f6118e29f8
commit 44de222ed7
16 changed files with 368 additions and 1 deletions

15
TestMvvm/App.axaml Normal file
View File

@@ -0,0 +1,15 @@
<Application xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="TestMvvm.App"
xmlns:local="using:TestMvvm"
RequestedThemeVariant="Default">
<!-- "Default" ThemeVariant follows system theme variant. "Dark" or "Light" are other available options. -->
<Application.DataTemplates>
<local:ViewLocator />
</Application.DataTemplates>
<Application.Styles>
<FluentTheme />
</Application.Styles>
</Application>