Change icon when application is running
See original GitHub issueHi,
I have somethink like that:
<materialDesign:PackIcon x:Name="testIcon" Kind="{Binding iconToChange}" Height="56" Width="56" Foreground="{Binding iconColor}" Background="{x:Null}" HorizontalAlignment="Center" VerticalAlignment="Center" />
and i want to change this icon, and foreground later in application on button click:
public string iconToChange { get; set; } public string iconColor { get; set; }
iconToChange = "CheckboxMarkedOutline"; iconColor = "#FF0FB01E";
But nothing changed, i think the layout must be reloaded? Or i’m wrong?
Issue Analytics
- State:
- Created 7 years ago
- Comments:8
Top Results From Across the Web
How to change the taskbar icon for a *running* program?
By right-clicking a program icon in the taskbar, right-clicking the name of the program in the pop-up, selecting "Properties" then "Change ...
Read more >Change an Application Icon
Right-click the application, and select Properties from the pop-up menu. · On the General tab, click the Browse button next to Icon Path....
Read more >How To Change the Icon of an App in Windows
Right-click on the shortcut and select “Properties” from the dropdown menu. · Navigate to the “Shortcut” tab. · Select “Change Icon” at the...
Read more >How to Change Icon for Applications in Windows - YouTube
Learn how to change icon for applications in Windows. Are some of your application shortcut icons outdated on your desktop?
Read more >Changing Taskbar Icon for Applications on Windows 10
Start by right-clicking on the icon in the taskbar and then right-clicking on the name of the application. From the secondary context menu, ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ok You can close it 😃 I’m too tired and make so easy mistakes haha 😃
It’s my sample application 😃 WpfApplication1.zip