Skip to content

Commit 85ee1a2

Browse files
committed
Correct two spelling errors
1 parent d266054 commit 85ee1a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Wpf.Ui/Controls/ContentDialog/ContentDialog.FocusBehavior.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private bool IsFocusInsideDialogCore(IInputElement? element)
129129
/// <remarks>
130130
/// Priority strategy:
131131
/// 1. Content-first: focus the first focusable element within the user-provided
132-
/// `Content` (the first focusable `FrameworkElement`).
132+
/// `Content` (the first focusable `<see cref="Control"/>`).
133133
/// 2. Built-in default button: if a built-in template button (Primary, Close, or
134134
/// Secondary) is marked as default and is safely focusable, focus it (see
135135
/// <see cref="FocusBuiltInButton"/>).

src/Wpf.Ui/Controls/ContentDialog/ContentDialog.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ public ContentPresenter? DialogHost
617617
{
618618
if (_dialogHostEx is not null)
619619
{
620-
throw new InvalidOperationException("Cannot set DialogHost when Host is already set.");
620+
throw new InvalidOperationException("Cannot set DialogHost when DialogHostEx is already set.");
621621
}
622622

623623
if (IsShowing)

0 commit comments

Comments
 (0)