This library brings Google's Material Design components to Winform C#.
- Button (Contained Button/Outlined Button/Text Button)
- Card (2 types)
- ComboBox (3 types)
- CheckBox
- Dialog (support DarkTheme)
- RadioButton
- ChoiceChip (2 types)
- ProgressBar (2 types)
- TextField (3 types)
- Snackbar (support DarkTheme)
You can add library through the Package Manager Console (MaterialSurface NuGet Package).
Click View > Others Windows > Package Manager Console and run this command:
PM > Install-Package MaterialSurface
Or you can clone this project from Github, compile it yourself and add output as a reference.
Once you have installed the package, all components should be stayed in tab "MaterialSurface" of your IDE's Toolbox.
Otherwise, you can manually add by right clicking Toolbox > Choose Items... and browse to the MaterialSurface.dll file in folder "..\\packages\MaterialSurface.1.0.0\lib".
Just use it as normal Winform controls except Dialog and Snackbar.
- Dialog is a replacement of MessageBox, so use it like MessageBox.
- Using Snackbar with method MakeSnackbar (static) or Make (for object). I strongly recommend cloning project and taking a look at MaterialSurfaceExample which has Playground to explore all components.
- Check out MaterialSkin which is a similar project but contains missing components from this project like Drawer, TabControl, Tooltip...
- Give this project a star if you found it helpful.
Home tab Button tab TextField tab Toggles tab ProgressBar tab Snackbar Dialog