DataGridView MetroFramework Modern UI

DataGridView MetroFramework

Winforms Modern UI was created to bring the new Modern UI alias Metro UI of Windows 8 to .NET Windows Forms applications and DataGridView MetroFramework is one of the missing tool inside this framework. It was originally poster by viperneo on Github. Most the controls needed by programmer to develop a good looking desktop application is already included in MetroFramework except for a DataGridView MetroFramework. A DataGridView control enables programmer to display and present data in tabular manner. This is commonly being ask by most users of MetroFramework on when it will be available or if there is anyone even working on it.

Since I am one of the fan of Winforms Modern UI MetroFramework and I already develop a lot of applications using this framework let me share with you all, what I did to have DataGridView MetroFramework control that will match the theme of MetroFramework. I used C1Flexgrid of ComponentOne.

The C1FlexGrid control is a powerful, full-featured grid. It will read and write grids from and to compressed binary files or text files (compatible with Microsoft® Access™ and Excel®). C1FlexGrid provides all the basics plus advanced features such as outline trees, sorting, cell merging, masked editing, translated combo and image lists, and automatic data aggregation.

C1FlexGrid can be used in bound mode, where it displays data from any .NET data source, including ADO.NET and ComponentOne DataObjects™ for WinForms, or in unbound mode, where the grid itself manages the data.

I created a new class out of C1Flexgrid and inherit the propperties of IMetroControl of MetroFramework, and I disabled the scroll bars built in with C1Flexgrid and use the scroll bar that comes along with MetroFramework.

Checkout the video above and let me know your comments and suggestions. If you need a DataGridView MetroFramework and if you like the one I created above just leave a message below and I’ll be glad to share the source code of my class with sample code on how to use it.

Liked it? Take a second to support denricdenise on Patreon!

You may also like...