Ok, this might not be an issue for all systems, but few (like mine )
Here is the problem. I will explain with screenshots
First, the good one which is from Vista Control Panel,
And the bad one which is built using Visual Studio 2005/2008 beta 2 and also with Expression Blend,the result is same
Can you notice the tick mark above, how bad it looks
To solve the above problem, we have to set the rendering option for CheckBox as below,
RenderOptions.EdgeMode=”Aliased”
So, if anybody are stuck with this problem, do not forget to set the RenderOptions for your CheckBox !
🙂
‘Aliased’!? Weird – one of the MS guys suggests elsewhere this may be a pixel alignment thing, causing odd rendering, and points out that RenderOptions.EdgeMode=”Aliased” is only ‘partly supported’ for legacy compatibility; it’s also suggested that performance will be hit slightly. Did you check out SnapsToDevicePixels to see if that helped?
Hi James,
I had already tried this – SnapsToDevicePixels=”True” but it didnt work out. And this was suggested in the MSDN WPF forums. If you can contact your MS friends, could you please ask them ?