List & Label .NET
combit.Reporting Namespace / ListLabel Class / Dictionary Property


In This Topic
    Dictionary Property (ListLabel)
    In This Topic

    You can use this dictionary to localize your table names, field names, variable names, sort orders and relation names - see also Localization of Project Files in Designer.

    Syntax
    'Declaration
     
    
    Public ReadOnly Property Dictionary As IQueryableLocalizationDictionary
    public IQueryableLocalizationDictionary Dictionary {get;}
    Remarks

    If manual variables are added to the used data binding, e.g. with the help of Variables.Add(), localization for these elements must first be performed before the manual variables are actually added.

    Example
    ...
    // Clear the dictionary
    LL.Dictionary.Clear();
    
    // Localize fields for other languages than English
    switch(selectedLanguage)
    {
       case 1:
       {
          // German
          LL.Dictionary.Fields.Add("Localization.Footerline", "Lokalisierung.Fusszeile");
          LL.Dictionary.Fields.Add("Localization.ChartSales", "Lokalisierung.ChartUmsatz");
          LL.Dictionary.Fields.Add("Localization.ChartLot","Lokalisierung.ChartSt??ckzahl");
    
          break;
       }
    
       case 2:
       {
          // French
          LL.Dictionary.Fields.Add("Localization.Footerline", "Localisation.BasDePage");
          LL.Dictionary.Fields.Add("Localization.ChartSales", "Localisation.ChartVolume d'affaires");
          LL.Dictionary.Fields.Add("Localization.ChartLot", "Localisation.ChartNombre");
    
          break;
       }
    
       default:
          break;
    }
    ...
    
    Requirements

    Platforms: Windows 10 (Version 21H2 - 22H2), Windows 11 (22H2 - 25H2), Windows Server 2016 - 2025
    .NET: .NET Framework 4.8, .NET 8, .NET 9, .NET 10

    See Also