Turning Off Localization for Specific Controls
There are two mains ways you can turn off localization for specific controls.
Setting IsLocalizable
The MM .NET mmBaseWindow contains a boolean attached property called IsLocalizable. If you set this to false for a particular control, it won't be localized.Overriding IsElementLocalizable()
The WPF mmUIHelper class has a method called IsElementLocalizable() that is used at runtime and in the WPF Localization Setup Window to determine if a UI element should be localized. If there is a certain type of UI control you don't want localized you can override this method, check for the specific control, and if found, return false. To do this:- Create a subclass of mmUIHelper
- Override the IsElementLocalizable() method and add your custom code
- In your WPF application's Factory class, override the CreateUIHelper() factory method and add code that instantiates your custom UI Helper class. For example:
public override mmUIHelper CreateUIHelper() { return MyUIHelper(); }
© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 04/26/18
Comment or report problem with topic
