From 21081bbf4b8af863b1f66d56556f19c29a2234e6 Mon Sep 17 00:00:00 2001 From: Meik Date: Thu, 5 Mar 2026 11:33:25 +0100 Subject: [PATCH] Disambiguate WPF Brushes usage in nav handlers --- MainWindow.xaml.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index 2796ce5..6189624 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -921,7 +921,7 @@ namespace C4IT_CustomerPanel if (ActiveButton != clickedButton) { - clickedButton.Background = Brushes.Transparent; + clickedButton.Background = System.Windows.Media.Brushes.Transparent; FrameworkElement activeIndicator = GetActiveTabIndicator(clickedButton); if (activeIndicator != null) activeIndicator.Visibility = Visibility.Visible; @@ -931,7 +931,7 @@ namespace C4IT_CustomerPanel if (ActiveButton != null) { - ActiveButton.Background = Brushes.Transparent; + ActiveButton.Background = System.Windows.Media.Brushes.Transparent; FrameworkElement inactiveIndicator = GetActiveTabIndicator(ActiveButton); if (inactiveIndicator != null) inactiveIndicator.Visibility = Visibility.Hidden; @@ -1724,7 +1724,7 @@ namespace C4IT_CustomerPanel if (!(sender is Button bu)) return; - bu.Background = Brushes.Transparent; + bu.Background = System.Windows.Media.Brushes.Transparent; } catch (Exception exp) {