Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12201

WPF UI NavigationViewItem make the color change when selected

$
0
0

Good Morning Everyone,I have installed the WPF UI Extension from lepo.co library, I have create the Project with the Fluent Navigation MVVM template.Now I would like to change the colors when the NavigationViewItem is selected.

enter image description here

I found the following resources that should resolve the issue:

<SolidColorBrush x:Key="NavigationViewItemForegroundPressed" Color="Lime"/> <SolidColorBrush x:Key="NavigationViewSelectionIndicatorForeground" Color="Red"/>

But NavigationViewItemForegroundPressed don't work, Can you give me some indications on how to obtain the result?

Thanks

I found the following resources that should resolve the issue:

<SolidColorBrush x:Key="NavigationViewItemForegroundPressed" Color="Lime"/> <SolidColorBrush x:Key="NavigationViewSelectionIndicatorForeground" Color="Red"/>

I expected it to change color


Viewing all articles
Browse latest Browse all 12201

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>