xceedsoftware / wpftoolkit

All the controls missing in WPF. Over 1 million downloads.
Other
3.91k stars 878 forks source link

PropertyGrid styling issues #1759

Open diegobarile opened 1 year ago

diegobarile commented 1 year ago

Hello everybody.

We are using the Extended.Wpf.Toolkit 4.5.0 into a WPF .NET 6.0 project that also uses the MaterialDesignThemes 4.9.0. The PropertyGrid control works fine except its styling. We most ugly issues are the captions of the category expander: they are trimmed and the foreground color is too light. Please see the screenshot below for more details. How can we change the style of these elements?

Thanks in advance.

image

XceedBoucherS commented 1 year ago

Hi,

could it be related to the MaterialDesignTheme ? Can you remove that theme to see ?

The expander should be on left, with Black Foreground. Here's my version: image

Thank you

diegobarile commented 1 year ago

Hello.

Thanks for the reply and sorry for my delay.

The issue is due to the MaterialDesignTheme for sure, because if I remove It the PropertyGrid works as expected.

Regards.

wnhat commented 1 year ago

you kan edit ToggleButton style padding to 0 if you need to use MaterialDesignThemes `

</UserControl.Resources>

`