I have a popup:
<Popup IsOpen="{Binding Path=AddMenuIsOpen, UpdateSourceTrigger=PropertyChanged}"
StaysOpen="False"
Placement="Bottom"
PlacementTarget="{Binding ElementName=AddButton}">
In the preview it aligns nicely to the left of the "AddButton":
but when running it aligns to the right:
Any idea what might have caused it and how to fix it?
Update Apparently the problem is much more in depth than this. Even Popups that are part of the Menu control are aligning wrong:
Menus and popups in WPF apps (like Microsoft's) works fine on my computer. I thought it must be a bug or some problem with the app configuration. Any idea of what can I do to fix it?
Update II if I assign the Placement
property to "Right"
it actually aligns to the left, but if I assign it "Left"
it's assigned to the right.