Skip to main content

PivotGridLocalizer Class

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

Namespace: DevExpress.XtraPivotGrid.Localization

Assembly: DevExpress.PivotGrid.v24.1.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

public class PivotGridLocalizer :
    XtraLocalizer<PivotGridStringId>,
    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

See Also