LanguageSettingsDynamicResourceManagersResXResourcesDir Property
Namespace: KGySoftAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.0.0
public static string? DynamicResourceManagersResXResourcesDir { get; set; }
Public Shared Property DynamicResourceManagersResXResourcesDir As String
Get
Set
public:
static property String^ DynamicResourceManagersResXResourcesDir {
String^ get ();
void set (String^ value);
}
static member DynamicResourceManagersResXResourcesDir : string with get, set
Property Value
String Due to compatibility reasons the .resx resources path can be handled individually for all DynamicResourceManager instances,
even if their UseLanguageSettings is . To opt-in using a centralized path,
set this property to a non- value.
Setting this property to a non- value overwrites the ResXResourcesDir property
of all centralized DynamicResourceManager instances so setting it to again will not make them switch back
to their previous value.
Changing this property does not trigger any auto save or release operation.
To save the possible changes regarding to the original path you need to call the
SavePendingResources method
before changing this property. After changing this property it is recommended to call the
ReleaseAllResources
method to drop all possibly loaded/created resources that are related to the original path.