Hallo,
ich habe eine UWP-Anwendung worin sich ein AppBarButton befindet, welcher ein Flyout öffnet. Darin befindet sich eine ComboBox. Klicke ich nun auf die ComboBox um ein anderes Item auszuwählen, schließt sich sofort sowohl die ComboBox, als auch das Flyout. Was mache ich falsch?
Dieses Minimalbeispiel reproduziert es:
<Grid>
<AppBarButton x:Name="mapSettingsButton" Icon="Map">
<AppBarButton.Flyout>
<Flyout Placement="Bottom">
<ComboBox Header="Farbstil" SelectedIndex="0">
<x:String>Dunkel</x:String>
<x:String>Hell</x:String>
</ComboBox>
</Flyout>
</AppBarButton.Flyout>
</AppBarButton>
</Grid>