DataViewBase.RuntimeLocalizationStrings Property

Gets or sets the collection of resource strings that can be localized at runtime. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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


public GridRuntimeStringCollection RuntimeLocalizationStrings { get; set; }

Property Value

Type Description

A DevExpress.Xpf.Grid.GridRuntimeStringCollection object that contains resource strings that can be localized at runtime.


Individual default strings displayed within the grid (e.g. group panel text, the column chooser’s caption, etc.) can be changed at runtime. To translate individual resource strings at runtime, create a DevExpress.Xpf.Grid.RuntimeStringIdInfo object with the specified Id and Value properties, and add it to the View’s RuntimeLocalizationStrings collection. The Id property identifies the required resource string. The Value property specifies a new value for it.


This example shows how to change default strings displayed within the Group Panel and the Column Chooser's caption, at runtime.

View Example

<Window x:Class="WpfApplication24.MainWindow"
        Title="MainWindow" Height="350" Width="525" xmlns:dxg="">
        <dxg:GridControl AutoPopulateColumns="True" Name="gridControl1">
                <dxg:TableView Name="tableView1" ShowTotalSummary="True">
                            <dxg:RuntimeStringIdInfo Id="GridGroupPanelText" Value="Group Panel"/>
                            <dxg:RuntimeStringIdInfo Id="ColumnChooserCaption" Value="Hidden Columns"/>
See Also