Disambiguate WPF Brushes usage in nav handlers
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user