mirror of https://github.com/AMT-Cheif/Stylet.git
Avoid invalid binding notice when showing a MessageBox with the default title
This commit is contained in:
parent
240a543de8
commit
d51ef4a0a4
|
@ -25,7 +25,7 @@ namespace Stylet
|
|||
/// <param name="options">Additional options</param>
|
||||
/// <param name="buttonLabels">You may override the text for individual buttons on a case-by-case basis</param>
|
||||
/// <returns>Which button the user clicked</returns>
|
||||
public static MessageBoxResult ShowMessageBox(this IWindowManager windowManager, string text, string title = null,
|
||||
public static MessageBoxResult ShowMessageBox(this IWindowManager windowManager, string text, string title = "",
|
||||
MessageBoxButton buttons = MessageBoxButton.OK, MessageBoxImage icon = MessageBoxImage.None,
|
||||
MessageBoxResult defaultButton = MessageBoxResult.None, MessageBoxResult cancelButton = MessageBoxResult.None,
|
||||
MessageBoxOptions options = MessageBoxOptions.None,
|
||||
|
|
Loading…
Reference in New Issue