Merge pull request #361 from irihitech/issue/359

Add ContentTemplate to MenuItem Header
This commit is contained in:
Dong Bin 2024-05-29 22:27:08 +08:00 committed by GitHub
commit 471106f825
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -159,6 +159,7 @@
HorizontalAlignment="Stretch" HorizontalAlignment="Stretch"
VerticalAlignment="Center" VerticalAlignment="Center"
Content="{TemplateBinding Header}" Content="{TemplateBinding Header}"
ContentTemplate="{TemplateBinding HeaderTemplate}"
RecognizesAccessKey="True" /> RecognizesAccessKey="True" />
<TextBlock <TextBlock
x:Name="PART_InputGestureText" x:Name="PART_InputGestureText"