$99 VS $1000+. UI Control for ASP.NET AJAX(contains chart and gridview).
Dock Control for C# WinForms
Dock Control Localization Support in C# Windows Forms C# projects
Home > WinForms UI Controls > User Manual > Localization in C#

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:

public class EnglishDockLocalizationProvider : KetticDockLocalizeProvider
public override string GetLocalizedString(string id)
switch (id)
case KetticDockStringId.ContextMenuFloating:
return "Floating";
case KetticDockStringId.ContextMenuAutoHide:
return "Auto Hide";
case KetticDockStringId.ContextMenuHide:
return "Hide";
case KetticDockStringId.ContextMenuClose:
return "Close";
case KetticDockStringId.ToolTabStripCloseButton:
return "Close Window";

return string.Empty;
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.

KetticDock.RightToLeft = System.Windows.Forms.RightToLeft.True;
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