/// <summary>
 /// Update the currrent content in the dialog.
 /// </summary>
 /// <param name="content"></param>
 public void UpdateContent(object content)
 {
     _owner.AssertTargetableContent();
     _owner.DialogContent = content ?? throw new ArgumentNullException(nameof(content));
     _owner.Dispatcher.BeginInvoke(DispatcherPriority.Background, new Action(() =>
     {
         _owner.FocusPopup();
     }));
 }
        /// <summary>
        /// Update the currrent content in the dialog.
        /// </summary>
        /// <param name="content"></param>
        public void UpdateContent(object content)
        {
            if (content == null)
            {
                throw new ArgumentNullException(nameof(content));
            }

            _owner.AssertTargetableContent();
            _owner.DialogContent = content;
        }
        /// <summary>
        /// Update the currrent content in the dialog.
        /// </summary>
        /// <param name="content"></param>
        public void UpdateContent(object content)
        {
            if (content == null)
            {
                throw new ArgumentNullException(nameof(content));
            }

            _owner.AssertTargetableContent();
            _owner.DialogContent = content;
            _owner.Dispatcher.BeginInvoke(DispatcherPriority.Background, new Action(() =>
            {
                _owner.FocusPopup();
                CommandManager.InvalidateRequerySuggested();
            }));
        }