leocb / MaterialSkin

Theming .NET WinForms, C# or VB.Net, to Google's Material Design Principles.
MIT License
437 stars 132 forks source link

Fix MaterialExpansionPanel to use ShowValidationButtons property #329

Closed Simonaalina25 closed 2 years ago

Simonaalina25 commented 2 years ago

I noticed when using the Material Expansion Panel that when I set the property Show Validation Buttons to false it only turns visibility false to the line above and the buttons are still visible. I added in UpdateRects the code needed for setting the visibility of the buttons according to the property.

orapps44 commented 2 years ago

Hi @Simonaalina25 ,

Thank you for this fix.