We have implemented our own check / uncheck all checkbox years ago and since we upgraded to 16.2, there is a new "All Fields" checkbox right underneath our own and the client is not happytwo questions please1. Can I hide the "All Fields" checkbox and its label?2. If not, how can I change the Foreground color of the All Fields checkbox label at the top of the fieldchooser?
Is it planned to be able to hide the "All Fields" checkbox by a FieldChooser property and to be able to assign a label according to our needs in another way than via an App.xaml file?
Hello,
Removing the "All Fields" select-all checkbox can be achieved by modifying the XamDataGrid's default style. The file that contains the code needs to be modified and imported into your application. The DataPresenterGeneric_Express.xaml contains the field chooser code and can be found here:
C:\Program Files\Infragistics\NetAdvantage XXXX.X\WPF\DefaultStyles\DataPresenter
I took the liberty of writing a sample to test this and I attached my App.xaml which I recommend incorporate into your project's App.XAML exactly as I've demosntrated. The file contains the default code for the FieldChooser, in it's entirety, and contains the toggle check editor (which is used for the select all checkbox and the datatrigger associated it with it) that is now commented out. There are also a few namespaces needed as expected.
Unforunately, there is no property or built-api to remove the select all checkbox. Would removing your application's select all field chooser be an option?
Please review my attachment below and let me know if you have any questions.