Hello,
when using a ToggleButton with a theme and compose the content with other controls, the content is empty in IsChecked==false state.
e.g.
<ToggleButton> <Image Source="/Resources/IconsM/Settings.png" Width="24" Height="24"/> </ToggleButton>
That makes it impossible to set a customized content, especially when I want to show an image instead of a text.
Is there a workaround?
Attached is an example. Just click the ToggleButton same times, and you will see that the content is emtpy, only in un-checked state.
We have shipped out a new service release where your issue is resolved. I'd be glad to find out if you had tested it out and if it had met your requirements.
You can download the Service Releases by logging to our web site and going to Account\My Keys and Downloads page.
Thank you for using Infragistics Components.
Hello Markus,
I have investigated your issue, and I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 230485. The next step will be for a developer to review my investigation and confirm my findings or to offer a fix, or other resolution.
Until this issue is fixed, you may use the modified version of the Metro Dark theme with changed ToggleButtonStyle.
I’ve attached a sample for your reference.
Please let me know if you need more information.