Class FilterEditorResourceAccessor
Provides access to the localized resources for the Filter Editor control.
Inheritance
Namespace: Syncfusion.Data.FilterEditor
Assembly: Syncfusion.Data.WPF.dll
Syntax
public static class FilterEditorResourceAccessor : Object
Remarks
This type is self-contained inside Syncfusion.Data.WPF and does not
depend on any external infrastructure. Consumers may call
SetResources(Assembly, String) at startup to provide
culture-specific resources; otherwise the default resource set bundled
with the assembly is used.
Methods
GetString(CultureInfo, String)
Returns the localized string for the given resource key using the
supplied culture, or null if no resource is registered.
Declaration
public static string GetString(CultureInfo culture, string key)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Globalization.CultureInfo | culture | |
| System.String | key |
Returns
| Type |
|---|
| System.String |
GetString(String)
Returns the localized string for the given resource key, or null
if no resource is registered under that key.
Declaration
public static string GetString(string key)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | key |
Returns
| Type |
|---|
| System.String |
ResetResources()
Resets the resource manager to the default (English) Filter Editor
resources compiled into Syncfusion.Data.WPF.
Declaration
public static void ResetResources()
SetResources(Assembly, String)
Replaces the active System.Resources.ResourceManager with one that resolves resources from the supplied assembly and resource namespace.
Declaration
public static void SetResources(Assembly assembly, string resourceNamespace)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Reflection.Assembly | assembly | Assembly that contains the localized resource set (typically a satellite
assembly or the main |
| System.String | resourceNamespace | The fully-qualified root namespace of the embedded .resx (without the
culture folder, e.g. |