If I use the following with
, the created
will be correctly positioned relative to my main window:
dynamic settings = new ExpandoObject();
settings.Placement = PlacementMode.Relative;
settings.PlacementTarget = GetView();
settings.HorizontalOffset = 165;
settings.VerticalOffset = 70;
windowManager.ShowPopup(viewModel, null, settings);
The same does not work for
though, is this to be expected?
This depends on the view class.
ShowDialog() shows a
Window that has different properties to set.