Skip to main content
A newer version of this page is available. .

How to: Localize a Grid by Replacing Specific Strings at Runtime

  • 4 minutes to read

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

using System.Windows;

namespace WpfApplication24 {
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window {
        public MainWindow() {
            InitializeComponent();
            gridControl1.ItemsSource = new ProductList();
            gridControl1.View.ShowColumnChooser();
        }
    }
}