From c030a1301ff315fa92a03b5ad7de8c26da4e238e Mon Sep 17 00:00:00 2001 From: Crsky Date: Sat, 28 Feb 2026 12:11:54 +0800 Subject: [PATCH] Fix IsTextBoxFocused property name --- GUI/AutoComplete.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GUI/AutoComplete.cs b/GUI/AutoComplete.cs index 72c713d5..af90dd0d 100644 --- a/GUI/AutoComplete.cs +++ b/GUI/AutoComplete.cs @@ -48,11 +48,11 @@ namespace GARbro.GUI public bool IsTextBoxFocused { - get { return (bool)GetValue (HasFocusProperty); } - private set { SetValue (HasFocusProperty, value); } + get { return (bool)GetValue (IsTextBoxFocusedProperty); } + private set { SetValue (IsTextBoxFocusedProperty, value); } } - public static readonly DependencyProperty HasFocusProperty = + public static readonly DependencyProperty IsTextBoxFocusedProperty = DependencyProperty.RegisterAttached ("IsTextBoxFocused", typeof(bool), typeof(ExtAutoCompleteBox), new UIPropertyMetadata()); protected override void OnKeyDown (KeyEventArgs e)