corelibraries-devexpress-dot-xtrascheduler-dot-localization-dot-schedulerlocalizer.md
Gets or sets a localizer object providing localization of the user interface at runtime.
Namespace : DevExpress.XtraScheduler.Localization
Assembly : DevExpress.XtraScheduler.v25.2.Core.dll
NuGet Package : DevExpress.Scheduler.Core
public static XtraLocalizer<SchedulerStringId> Active { get; set; }
Public Shared Property Active As XtraLocalizer(Of SchedulerStringId)
| Type | Description |
|---|---|
| XtraLocalizer<SchedulerStringId> |
An XtraLocalizer<T> descendant, used to localize the user interface at runtime.
|
Note
Important : Not all strings can be translated via Localizer classes. Some components contain form resources (e.g., the XtraReports Search dialog), which must be translated via satellite assemblies, so localization via resources is recommended.
For more information on utilizing the Active property, refer to the Localizing WinForms Controls via Localizer Objects document.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Active property.
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.
winforms-scheduler-localizer-translate-ui/CS/SchedulerLocalizerExample/Form1.cs#L7
#region #ProgramRunLocalizer
DevExpress.XtraScheduler.Localization.SchedulerLocalizer.Active = new MySchedulerLocalizer();
DevExpress.XtraEditors.Controls.Localizer.Active = new MyDateNavigatorLocalizer();
Private Sub MyApplication_Startup(ByVal sender As Object, ByVal e As Microsoft.VisualBasic.ApplicationServices.StartupEventArgs) Handles Me.Startup
DevExpress.XtraScheduler.Localization.SchedulerLocalizer.Active = New MySchedulerLocalizer()
DevExpress.XtraEditors.Controls.Localizer.Active = New MyDateNavigatorLocalizer()
See Also