PivotGridLocalizer Class

Provides a means to localize the PivotGrid's UI elements at runtime.

Namespace: DevExpress.XtraPivotGrid.Localization

Assembly: DevExpress.PivotGrid.v20.2.Core.dll

Declaration

public class PivotGridLocalizer :
    XtraLocalizer<PivotGridStringId>,
    ILocalizeCustomFunctionDescription
Public Class PivotGridLocalizer
    Inherits XtraLocalizer(Of PivotGridStringId)
    Implements ILocalizeCustomFunctionDescription

Remarks

Use the PivotGridLocalizer class to access default (en) culture resource string values and override them at runtime.

To manually localize the PivotGrid, execute the following steps:

  • Create a descendant of the PivotGridLocalizer class and override its GetLocalizedString or PopulateStringTable method. The GetLocalizedString method should return localized strings for the specified string resource identifiers. The PopulateStringTable method should replace strings in the PivotGridLocalizer's dictionary for specific resource identifiers.
  • Assign an instance of this class to the static PivotGridLocalizer.Active property of the PivotGridLocalizer. To ensure that all PivotGrid's UI strings are properly localized, perform this step before the PivotGrid is initialized.

Inheritance

Object
DevExpress.Utils.Localization.XtraLocalizer
XtraLocalizer<PivotGridStringId>
PivotGridLocalizer
See Also