Intersoft WebGrid Documentation
LanguageMode Enumeration
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace : LanguageMode Enumeration






Value representing the the language setting that is used for localization.

Syntax

Visual Basic (Declaration) 
Public Enum LanguageMode 
   Inherits System.Enum
Visual Basic (Usage)Copy Code
Dim instance As LanguageMode
C# 
public enum LanguageMode : System.Enum 
Delphi 
public enum LanguageMode = class(System.Enum)
JScript 
public enum LanguageMode extends System.Enum
Managed Extensions for C++ 
__value public enum LanguageMode : public System.Enum 
C++/CLI 
public enum class LanguageMode : public System.Enum 

Members

MemberDescription
UseCultureThe control will pick the language based on the specified culture in WebGrid level or in Thread level. When the language file can’t be found, it will fallback to use default language file.
UseCustomYou will decide which language exactly that the WebGrid will use, regardless of any culture settings. If the language file can’t be found, it will fallback to use default language file.
UseDefaultThe default language file will be used regardless of any settings.

Remarks

WebGrid.NET 4.0 has add new Localization Manager allowing you to customize, manage, as well as create your own text settings based on your culture efficiently.

This feature allows you to to customize all textual elements available in WebGrid’s UI, from common text such as Ready, Refresh etc to context menu. The new localization feature works in conjunction with the LanguageMode which is also a new property added to the TextSettings object. There are three language modes that you can use to internationalize WebGrid efficiently: UseDefault, UseCulture, UseCustom.

For greater flexibility, the common text settings are still customizable per grid’s instance and will override any of the language mode above. The default localization folder is inside ScriptFolder and need to be shipped along with your application.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         ISNet.WebUI.WebGrid.LanguageMode

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.