Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I change the binding value after losing focus #10259

Closed
qfmee opened this issue Feb 8, 2023 · 3 comments
Closed

How can I change the binding value after losing focus #10259

qfmee opened this issue Feb 8, 2023 · 3 comments

Comments

@qfmee
Copy link

qfmee commented Feb 8, 2023

TextBox changes the binding value immediately by default. How can I change the binding value after losing focus? Like WPF's textBox
for example: WPF code: <TextBox Text="{Binding MyValue,UpdateSourceTrigger=LostFocus}" />

@qfmee qfmee added the bug label Feb 8, 2023
@maxkatz6 maxkatz6 removed the bug label Feb 8, 2023
@maxkatz6
Copy link
Member

maxkatz6 commented Feb 8, 2023

Duplicate of #3754
There is also hints how can it be done without UpdateSourceTrigger.

@maxkatz6 maxkatz6 closed this as completed Feb 8, 2023
@qfmee
Copy link
Author

qfmee commented Feb 8, 2023

Thank you! Is UpdateSourceTrigger planning to join avalonia?

@maxkatz6
Copy link
Member

maxkatz6 commented Feb 8, 2023

Not in 11.0. Possibly in 11.x later this year.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants