ModernWpf icon indicating copy to clipboard operation
ModernWpf copied to clipboard

Slim ComboBox and TextBox for embedding in a DataGridCell

Open clovett opened this issue 3 years ago • 2 comments

I am moving my Money app to ModernWPF and one thing that seems hard is finding slim textbox and combobox controls for embedding in a DataGrid, does ModernWPF have anything like that? This is what I had before:

image

And this is what it looks like with modern wpf, even with padding set to 0 and border thickness set to 0 and so on:

image

Any ideas, short of grabbing the entire modern wpf templates and slimming them down myself... ?

clovett avatar Feb 13 '22 04:02 clovett

Hey, I found this ~\ModernWpf\ModernWpf\DensityStyles\Compact.xaml which is helpful. It gets me most of the way there.

image

But I would like to also remove the accented focus rectangle if possible...

clovett avatar Feb 14 '22 04:02 clovett

How can this compact style be applied for all DataGrids or one DataGrid?

ekdahl avatar May 15 '23 14:05 ekdahl