We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to change the Title and Watermark in ColumnChooser window?

Platform: UWP |
Control: SfDataGrid |
.NET Framework: 4.5

In SfDataGrid, Column Chooser window allows you to add or remove columns dynamically from the current view of grid by drag-and-drop operations. Please refer here to know more about Column Chooser.

By default, Title (ColumnChooser) and WaterMarkText (No Fields Available) of ColumnChooserWindow will be displayed like in below image.

Column Chooser                                     

In SfDataGrid, it is possible to change the above Title and WaterMarkText by using the Title and WaterMarkText property of column chooser window as shown in the below code snippet,

Code Snippet:

this.sfGrid.Loaded += OnSfGrid_Loaded;
void OnSfGrid_Loaded(object sender, RoutedEventArgs e)
            chooserWindow = new ColumnChooser(this.sfGrid);
            chooserWindow.Title = "Column Picker";
            chooserWindow.WaterMarkText = "No columns Available";
            chooserWindow.Background = new SolidColorBrush(Colors.Pink);
            chooserWindow.Foreground = new SolidColorBrush(Colors.BlueViolet);
            chooserWindow.TitleBarForeground = new SolidColorBrush(Colors.White);
            chooserWindow.TitleBarBackground = new SolidColorBrush(Colors.BlueViolet);
            chooserWindow.Resources.MergedDictionaries.Add(new ResourceDictionary() { Source = new Uri("ms-appx:///Syncfusion.SfGrid.WinRT/Styles/Styles.xaml", UriKind.RelativeOrAbsolute) });
            this.sfGrid.GridColumnDragDropController = new GridColumnChooserController(this.sfGrid, chooserWindow);
            viewModel.toggled = OnToggled;
            chooserWindow.Popup.Closed += OnPopup_Closed;


Please refer the below screen shot of changed Title and Watermark text property of column chooser window,

Column Picker


Sample Links:



2X faster development

The ultimate UWP UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile