question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change icon when application is running

See original GitHub issue

Hi,

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:closed
  • Created 7 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
sagevpremiumcommented, Sep 14, 2016

Ok You can close it 😃 I’m too tired and make so easy mistakes haha 😃

0reactions
sagevpremiumcommented, Sep 14, 2016

It’s my sample application 😃 WpfApplication1.zip

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found