feat: make group header customizable.

(cherry picked from commit 2de1c40295bc8d23c8666bffc875e5c0925e85bd)
This commit is contained in:
rabbitism 2024-10-08 17:27:55 +08:00 committed by Zhang Dian
parent 8f649e261d
commit 53cdfec729

View File

@ -407,10 +407,11 @@
Margin="4,0,0,0"
Foreground="{TemplateBinding Foreground}"
IsVisible="{TemplateBinding IsPropertyNameVisible}" />
<TextBlock
<ContentControl
Name="PART_GroupKeyContentControl"
Margin="4,0,0,0"
Foreground="{TemplateBinding Foreground}"
Text="{Binding Key}" />
Content="{Binding Key}" />
<TextBlock
Name="PART_ItemCountElement"
Margin="4,0,0,0"