title | page_title | description | type | slug | position | tags | ticketid | res_type |
---|---|---|---|---|---|---|---|---|
Fix Pixelated or Distorted Buttons on DELL Machines |
Resolve Stretched Pixels in Telerik RadButton |
Avoid pixelated or distorted pixels rendering when using Telerik WPF controls on DELL Machines. |
how-to |
kb-buttons-distorted-or-pixelated-buttons |
0 |
distorted, pixelated, DELL, buttons |
1544097 |
kb |
Product Version | 2022.2 621 |
Product | RadButtons for WPF |
Buttons can appear distorted or pixelated on Dell machines. This behavior can also be present in some of the native WPF controls.
To prevent this behavior from occurring, there are two approaches that can be taken.
The first approach is to blacklist your application. To do so, you can follow these steps:
-
Open the BlackApps.dat that can be found on this path: C:\ProgramData\A-Volute\DellInc.AlienwareSoundCenter\Modules\ScheduledModules\Configurator\BlackApps.dat
-
Append the name of your process at the end of the file (for example, MyApplication.exe) and save it.
The second approach is to set the System.Windows.Media.RenderOptions.ProcessRenderMode
property to System.Windows.Interop.RenderMode.SoftwareOnly
before showing any WPF windows.
{{region kb-buttons-distorted-or-pixelated-buttons-0}} System.Windows.Media.RenderOptions.ProcessRenderMode = System.Windows.Interop.RenderMode.SoftwareOnly; {{endregion}}
{{region kb-buttons-distorted-or-pixelated-buttons-1}} System.Windows.Media.RenderOptions.ProcessRenderMode = System.Windows.Interop.RenderMode.SoftwareOnly {{endregion}}