Change image button icon color to grayscale at Runtime using C# Code
<p>we are developing an erp application using WPF which is currently still at the initial stages.</p>

<p>i need to know how to change the color of the .png or .jpg icon to grayscale at runtime using C# code for a particular childwindow instance.</p>

<p>for example, a window handling edit operation should have save image button disabled and turned in to grayscale.</p>

<p>help very much appreciated,
Thanks.</p>
