Back to Devexpress

IModelLocalization Interface

expressappframework-devexpress-dot-expressapp-dot-model-41b1f799.md

latest3.1 KB
Original Source

IModelLocalization Interface

The Localization node allows localization of UI elements such as messages, exceptions, button captions and so on.

Namespace : DevExpress.ExpressApp.Model

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
[ImageName("BO_Localization")]
[ModelNodesGenerator(typeof(ModelLocalizationNodesGenerator))]
public interface IModelLocalization :
    IModelNode,
    IModelList<IModelLocalizationGroup>,
    IList<IModelLocalizationGroup>,
    ICollection<IModelLocalizationGroup>,
    IEnumerable<IModelLocalizationGroup>,
    IEnumerable
vb
<ImageName("BO_Localization")>
<ModelNodesGenerator(GetType(ModelLocalizationNodesGenerator))>
Public Interface IModelLocalization
    Inherits IModelNode,
             IModelList(Of IModelLocalizationGroup),
             IList(Of IModelLocalizationGroup),
             ICollection(Of IModelLocalizationGroup),
             IEnumerable(Of IModelLocalizationGroup),
             IEnumerable

The following members return IModelLocalization objects:

Remarks

You can use predefined groups of localization elements to localize them in the required language. You can also add a new group with your string constants, and get localized values in code. For detailed information on using this node in code, refer to the How to: Localize Custom String Constants topic.

This interface is a part of the Application Model infrastructure. You do not need to implement this interface in most cases.

The IModelLocalization node represents a list of the IModelLocalizationGroup nodes.

To customize the default content of this node, implement a Generator Updater for the ModelLocalizationNodesGenerator Nodes Generator.

See Also

IModelLocalization Members

Application Model (UI Settings Storage)

DevExpress.ExpressApp.Model Namespace