From b63f30009a2c62c0ad29b7663210d20df0cf73a1 Mon Sep 17 00:00:00 2001 From: JusterZhu Date: Wed, 20 May 2026 19:38:44 +0800 Subject: [PATCH] fix: replace ListBox with Button-based ItemsControl for navigation - Add x:Name=MainWin to Window for ElementName binding - Replace ListBox + TextBlock with ItemsControl + Button - Each Button binds to MainWindow.NavigateCommand with NavItem as parameter --- src/Views/MainWindow.axaml | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/src/Views/MainWindow.axaml b/src/Views/MainWindow.axaml index 46f18b5..ec5ab5e 100644 --- a/src/Views/MainWindow.axaml +++ b/src/Views/MainWindow.axaml @@ -1,9 +1,10 @@ - @@ -11,15 +12,22 @@ - - + + - - - +