You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When showing the custom Messagebox in namespace Wpf.Ui.Controls.MessageBox it is not possible to set the messagebox start up location to center owner.
therefore the messagebox is always shown at the center location where the app did start.
To Reproduce
var uiMessageBox = new Wpf.Ui.Controls.MessageBox
{
Title = "test",
Content = "test",
WindowStartupLocation = WindowStartupLocation.CenterOwner
};
await uiMessageBox.ShowDialogAsync();
Expected behavior
It should be shown in the center of the owner window
Screenshots
No response
OS version
windows 11 pro 23H2 22631.3374
.NET version
Target: net8.0-windows7.0
WPF-UI NuGet version
3.0.0-preview.13
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
When showing the custom Messagebox in namespace Wpf.Ui.Controls.MessageBox it is not possible to set the messagebox start up location to center owner.
therefore the messagebox is always shown at the center location where the app did start.
To Reproduce
Expected behavior
It should be shown in the center of the owner window
Screenshots
No response
OS version
windows 11 pro 23H2 22631.3374
.NET version
Target: net8.0-windows7.0
WPF-UI NuGet version
3.0.0-preview.13
Additional context
No response
The text was updated successfully, but these errors were encountered: