- Online Barcode Generator
- How To
- Buy Now
Localization Support by Dock Control for C# WinForms
The Kettic Dock Control entirely supports the localization for building Windows Forms application. .NET UI designers can use the way below to localize the Dock control to display text and message in a particular language. The namespace Kettic.UI.WinForm.Localization defines all classes that may needed for localizing the Dock control. .NET UI developers need to create a descendant of the KetticDockLocalizeProvider class first. Override the method, GetLocalizedString (string id) and offer a translation for user messages and the label, otherwise, the default value will be returned.
Implement Custom Localization Provider
The following is an example that shows how to implement a custom localization provider to returns the default values translations in German:
Then, we can instantiate and assign the custom localization provider to the current localization provider to apply it.
DockLocalizationProvider.CurrentProvider = new EnglishDockLocalizationProvider();
Right to Left Support
The Kettic Dock Control provides the support of Right to left. .NET UI designers can simply change the value of the RightToLeft property to True so that the content of your dock instance will be displayed from right to left direction.
UI Controlsfor Windows Forms.NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI Design
WinForms UI Controls