Back to Devexpress

XtraLocalizer.UserResourceManager Property

corelibraries-devexpress-dot-utils-dot-localization-dot-xtralocalizer-43d3c589.md

latest1.7 KB
Original Source

XtraLocalizer.UserResourceManager Property

Gets or sets the resource manager.

Namespace : DevExpress.Utils.Localization

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
public static ResourceManager UserResourceManager { get; set; }
vb
Public Shared Property UserResourceManager As ResourceManager

Property Value

TypeDescription
ResourceManager

The resource manager.

|

Remarks

The XtraLocalizer class allows you to create and use RESX files with custom localization strings. Follow the steps below:

  1. Create separate RESX files with translated resource strings for each of the supported cultures/languages.

  2. Add RESX files to your project.

  3. Rebuild the project.

  4. Use the UserResourceManager property to initialize the resource manager. You can obtain the required object reference by using the folder and file name (namespace and class name) you chose for the custom resource file. Compare the highlighted code line to the Solution Explorer screenshot above.

See Also

XtraLocalizer Class

XtraLocalizer Members

DevExpress.Utils.Localization Namespace