Skip to content

Commit 87f9eac

Browse files
committed
Adding missing Popup Template to ComboBox
1 parent 30ef346 commit 87f9eac

File tree

1 file changed

+2
-2
lines changed
  • src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles

1 file changed

+2
-2
lines changed

src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/ComboBox.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@
266266
</Grid>
267267
</Grid>
268268
<Popup
269-
x:Name="Popup"
269+
x:Name="PART_Popup"
270270
MinWidth="{TemplateBinding ActualWidth}"
271271
VerticalAlignment="Center"
272272
AllowsTransparency="True"
@@ -357,7 +357,7 @@
357357
<Trigger Property="HasItems" Value="False">
358358
<Setter TargetName="DropDownBorder" Property="MinHeight" Value="{StaticResource ComboBoxPopupMinHeight}" />
359359
</Trigger>
360-
<Trigger SourceName="Popup" Property="Popup.AllowsTransparency" Value="False">
360+
<Trigger SourceName="PART_Popup" Property="Popup.AllowsTransparency" Value="False">
361361
<Setter TargetName="DropDownBorder" Property="CornerRadius" Value="0" />
362362
</Trigger>
363363
<Trigger Property="IsGrouping" Value="True">

0 commit comments

Comments
 (0)