Skip to main content

GridControlLocalizer.GetString(GridControlStringId) Method

Returns a localized string for the given string identifier.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v14.2.Core.dll

#Declaration

public static string GetString(
    GridControlStringId id
)

#Parameters

Name Type Description
id GridControlStringId

A GridControlStringId enumeration value identifying the string to localize.

#Returns

Type Description
String

A String corresponding to the specified identifier.

#Remarks

The GridControl supports localization, i.e. you can substitute strings displayed within default UI elements with your own equivalents (for example, in your native language). Items that can be localized are enumerated by the GridControlStringId enumeration.

To localize the GridControl's resources, you need to override the GetString method in a GridControlLocalizer class descendant.

To learn more, see Localization.

See Also