File tree 4 files changed +5
-7
lines changed
src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent
4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 23
23
BorderBrush =" {TemplateBinding BorderBrush}"
24
24
BorderThickness =" {TemplateBinding BorderThickness}"
25
25
Padding =" {TemplateBinding Padding}" >
26
- <StackPanel
27
- ClipToBounds =" True"
28
- IsItemsHost =" True"
29
- Orientation =" Horizontal" />
26
+ <ItemsPresenter
27
+ ClipToBounds =" True" />
30
28
</Border >
31
29
</ControlTemplate >
32
30
</Setter .Value>
Original file line number Diff line number Diff line change 3325
3325
<Setter .Value>
3326
3326
<ControlTemplate TargetType =" {x:Type Menu}" >
3327
3327
<Border Background =" {TemplateBinding Background}" BorderBrush =" {TemplateBinding BorderBrush}" BorderThickness =" {TemplateBinding BorderThickness}" Padding =" {TemplateBinding Padding}" >
3328
- <StackPanel ClipToBounds =" True" IsItemsHost = " True " Orientation = " Horizontal " />
3328
+ <ItemsPresenter ClipToBounds =" True" />
3329
3329
</Border >
3330
3330
</ControlTemplate >
3331
3331
</Setter .Value>
Original file line number Diff line number Diff line change 3238
3238
<Setter .Value>
3239
3239
<ControlTemplate TargetType =" {x:Type Menu}" >
3240
3240
<Border Background =" {TemplateBinding Background}" BorderBrush =" {TemplateBinding BorderBrush}" BorderThickness =" {TemplateBinding BorderThickness}" Padding =" {TemplateBinding Padding}" >
3241
- <StackPanel ClipToBounds =" True" IsItemsHost = " True " Orientation = " Horizontal " />
3241
+ <ItemsPresenter ClipToBounds =" True" />
3242
3242
</Border >
3243
3243
</ControlTemplate >
3244
3244
</Setter .Value>
Original file line number Diff line number Diff line change 3334
3334
<Setter .Value>
3335
3335
<ControlTemplate TargetType =" {x:Type Menu}" >
3336
3336
<Border Background =" {TemplateBinding Background}" BorderBrush =" {TemplateBinding BorderBrush}" BorderThickness =" {TemplateBinding BorderThickness}" Padding =" {TemplateBinding Padding}" >
3337
- <StackPanel ClipToBounds =" True" IsItemsHost = " True " Orientation = " Horizontal " />
3337
+ <ItemsPresenter ClipToBounds =" True" />
3338
3338
</Border >
3339
3339
</ControlTemplate >
3340
3340
</Setter .Value>
You can’t perform that action at this time.
0 commit comments