We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 364e427 commit e8d52d7Copy full SHA for e8d52d7
MaterialDesignThemes.Wpf/DialogSession.cs
@@ -35,10 +35,10 @@ internal DialogSession(DialogHost owner)
35
/// Update the current content in the dialog.
36
/// </summary>
37
/// <param name="content"></param>
38
- public void UpdateContent(object content)
+ public void UpdateContent(object? content)
39
{
40
_owner.AssertTargetableContent();
41
- _owner.DialogContent = content ?? throw new ArgumentNullException(nameof(content));
+ _owner.DialogContent = content;
42
_owner.Dispatcher.BeginInvoke(DispatcherPriority.Background, new Action(() =>
43
44
_owner.FocusPopup();
0 commit comments