Back to Devexpress

PivotGridLocalizer.Active Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-localization-dot-pivotgridlocalizer.md

latest3.2 KB
Original Source

PivotGridLocalizer.Active Property

Gets or sets a localizer object providing localization of the PivotGrid’s user interface at runtime.

Namespace : DevExpress.XtraPivotGrid.Localization

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

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

Declaration

csharp
public static XtraLocalizer<PivotGridStringId> Active { get; set; }
vb
Public Shared Property Active As XtraLocalizer(Of PivotGridStringId)

Property Value

TypeDescription
XtraLocalizer<PivotGridStringId>

An XtraLocalizer<T> descendant, used to localize the user interface at runtime.

|

Remarks

To manually localize the PivotGrid’s user interface, create the PivotGridLocalizer class descendant, and assign this object to the static Active property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Active property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-pivot-grid-hide-the-grand-total-column-and-text-labels/CS/RemoveGridLinesExample/Form1.cs#L10

csharp
public Form1() {
    PivotGridLocalizer.Active = new MyLocalizer();
    InitializeComponent();

winforms-pivot-grid-hide-the-grand-total-column-and-text-labels/VB/RemoveGridLinesExample/Form1.vb#L12

vb
Public Sub New()
    PivotGridLocalizer.Active = New MyLocalizer()
    InitializeComponent()

See Also

PivotGridLocalizer Class

PivotGridLocalizer Members

DevExpress.XtraPivotGrid.Localization Namespace