Skip to content

DrCQ/MaterialDesign-DataGridExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MaterialDesign-DataGridExample

This small application shows differences in appeareance of the DataGrid content for MaterialDesignThemes version 4.0 and 4.1. The MainWindow.xaml contains one DataGrid instance showing static content located in the ViewModel/MainWindowViewModel.vb class. Pressing the "ShowWindow" button in the MainWindow launches an AboutWindow.xaml using also an DataGrid using the same Style as in the MainWindow. Screenshots from MainWindow as well as from MainWindow with launched AboutWindow are stored in the Screenshots folder.

With MaterialDesignThemes version 4.0 both DataGrids looks idenitical.

DialogWindow_4_0

DialogWindow_4_0

With MaterialDesignThemes version 4.1 the DataGrid of the AboutWindow shows the first element of the DataGrid with a "selected" rectange, which is wrong!

DialogWindow_4_0

Both DataGrids use the same Style and ControlTemplate stored in Themes/Generic.xaml file and the same ItemsSource from the ViewModel/MainWindowViewModel class.

The basic code is written in XAML. The VB code is used for the creation of DataGrid content and a simple command to launch the AboutWindow using the DialogHost.

My belive is that something dealing with focus management has been changes between the version 4.0 and 4.1.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published