.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

XafApplication.CustomizeLanguagesList Event

Occurs when setting up the application.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v21.2.dll

Declaration

public event EventHandler<CustomizeLanguagesListEventArgs> CustomizeLanguagesList

Event Data

The CustomizeLanguagesList event's data class is DevExpress.ExpressApp.CustomizeLanguagesListEventArgs.

Remarks

When localizing your application, you should list all the languages supported by your application in the configuration file (see Localize Standard XAF Modules and DevExpress Controls Used in an Application). If you need to customize this list while starting the application, subscribe to the CustomizeLanguagesList event. Get the list of the languages specified in the application’s configuration file using the event handler’s CustomizeLanguagesListEventArgs.Languages parameter.

Note

In the Windows Forms solution template, the WinApplication class’ descendant handles this event, to add the language of the current UI culture.

The following code snippets (auto-collected from DevExpress Examples) contain references to the CustomizeLanguagesList event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also