feat: add ClearSelectionOnLostFocus property to AutoCompleteBox. (#746)

(cherry picked from commit 664d05db45)
This commit is contained in:
Zhang Dian
2026-02-09 23:28:15 +08:00
parent 5aa8e2e10d
commit 9f9ba4c91b

View File

@@ -21,6 +21,7 @@
Name="PART_TextBox"
VerticalAlignment="Stretch"
MinHeight="{TemplateBinding MinHeight}"
ClearSelectionOnLostFocus="{TemplateBinding ClearSelectionOnLostFocus}"
DataValidationErrors.Errors="{TemplateBinding (DataValidationErrors.Errors)}"
Theme="{DynamicResource NonErrorTextBox}"
InnerLeftContent="{TemplateBinding InnerLeftContent}"