Fix IsTextBoxFocused property name

This commit is contained in:
Crsky
2026-02-28 12:11:54 +08:00
parent 6e8372ed69
commit c030a1301f

View File

@@ -48,11 +48,11 @@ namespace GARbro.GUI
public bool IsTextBoxFocused public bool IsTextBoxFocused
{ {
get { return (bool)GetValue (HasFocusProperty); } get { return (bool)GetValue (IsTextBoxFocusedProperty); }
private set { SetValue (HasFocusProperty, value); } private set { SetValue (IsTextBoxFocusedProperty, value); }
} }
public static readonly DependencyProperty HasFocusProperty = public static readonly DependencyProperty IsTextBoxFocusedProperty =
DependencyProperty.RegisterAttached ("IsTextBoxFocused", typeof(bool), typeof(ExtAutoCompleteBox), new UIPropertyMetadata()); DependencyProperty.RegisterAttached ("IsTextBoxFocused", typeof(bool), typeof(ExtAutoCompleteBox), new UIPropertyMetadata());
protected override void OnKeyDown (KeyEventArgs e) protected override void OnKeyDown (KeyEventArgs e)