Skip to main content
All docs
V21.2

SnapExtensionsLocalizer.GetString(SnapExtensionsStringId) Method

Returns a localized string for the given string identifier.

Namespace: DevExpress.Snap.Extensions.Localization

Assembly: DevExpress.Snap.v21.2.Extensions.dll

NuGet Package: DevExpress.Win.Snap

Declaration

public static string GetString(
    SnapExtensionsStringId id
)

Parameters

Name Type Description
id SnapExtensionsStringId

A SnapExtensionsStringId enumeration value, identifying the string to localize.

Returns

Type Description
String

A String value, corresponding to the specified identifier.

Remarks

A SnapDockManager of a Snap application supports localization, so that you can substitute the default strings displayed within context menus with your own equivalents (e.g., in your native language). Items that can be localized are listed in the SnapExtensionsStringId enumeration.

To localize the default resources of a Snap application’s dock manager, override the GetString method in a SnapExtensionsLocalizer class descendant.

For more information, refer to Localization.

See Also