|
34 | 34 | <Border Background="{TemplateBinding Background}" BorderBrush="{Binding Path=Background, ElementName=PART_ColorZone}" BorderThickness="{TemplateBinding BorderThickness}">
|
35 | 35 | <DockPanel Background="{TemplateBinding Background}">
|
36 | 36 | <wpf:ColorZone UseLayoutRounding="True" x:Name="PART_ColorZone" DockPanel.Dock="Top" Padding="{TemplateBinding Padding}" Effect="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ShadowAssist.ShadowDepth), Converter={x:Static converters:ShadowConverter.Instance}}" Mode="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ColorZoneAssist.Mode)}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
|
37 |
| - <ContentPresenter ContentSource="Header" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/> |
| 37 | + <ContentPresenter ContentSource="Header" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" |
| 38 | + ContentStringFormat="{TemplateBinding HeaderStringFormat}" |
| 39 | + ContentTemplate="{TemplateBinding HeaderTemplate}" |
| 40 | + ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}"/> |
38 | 41 | </wpf:ColorZone>
|
39 |
| - <ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Margin="{TemplateBinding Padding}"/> |
| 42 | + <ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Margin="{TemplateBinding Padding}" |
| 43 | + ContentStringFormat="{TemplateBinding ContentStringFormat}" |
| 44 | + ContentTemplate="{TemplateBinding ContentTemplate}" |
| 45 | + ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}"/> |
40 | 46 | </DockPanel>
|
41 | 47 | </Border>
|
42 | 48 | </ControlTemplate>
|
|
58 | 64 | <wpf:Card VerticalAlignment="Stretch">
|
59 | 65 | <DockPanel Background="{TemplateBinding Background}">
|
60 | 66 | <wpf:ColorZone x:Name="PART_ColorZone" DockPanel.Dock="Top" Padding="{TemplateBinding Padding}" Effect="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ShadowAssist.ShadowDepth), Converter={x:Static converters:ShadowConverter.Instance}}" Mode="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(wpf:ColorZoneAssist.Mode)}">
|
61 |
| - <ContentPresenter ContentSource="Header" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/> |
| 67 | + <ContentPresenter ContentSource="Header" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" |
| 68 | + ContentStringFormat="{TemplateBinding HeaderStringFormat}" |
| 69 | + ContentTemplate="{TemplateBinding HeaderTemplate}" |
| 70 | + ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}"/> |
62 | 71 | </wpf:ColorZone>
|
63 |
| - <ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Margin="{TemplateBinding Padding}"/> |
| 72 | + <ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Margin="{TemplateBinding Padding}" |
| 73 | + ContentStringFormat="{TemplateBinding ContentStringFormat}" |
| 74 | + ContentTemplate="{TemplateBinding ContentTemplate}" |
| 75 | + ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}"/> |
64 | 76 | </DockPanel>
|
65 | 77 | </wpf:Card>
|
66 | 78 | </ControlTemplate>
|
|
0 commit comments