dotnet / dotnet/maui

[Enhancement] Implement UpdateSourcetrigger

Open
#5,596 4 comments 8 reactions 0 assignees View on GitHub
area-xaml proposal/open
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 15h
Merged PRs (30d)
290

Description

### Description

The `UpdateSourcetrigger` of `Binding` is extremely useful, please implement it in MAUI as in WPF.

### Public API Changes

Adding a new binding attribute - I don't see it would be a breaking change.

### Intended Use-Case

The `UpdateSourcetrigger` of `Binding` is extremely useful, please implement it in MAUI as in WPF.

I find it especially useful when validation is needed on user entered data (like when a number is being entered) before allowing the data to update the binding source.

And of course it would make migration from WPF or WinUI a bit easier (you can always code around this lack, but it's tedious to do so).

Contributor guide

Open the contributing guide

Research direction

Start by reviewing MAUI's existing Binding API and the corresponding WPF UpdateSourceTrigger behavior. Done means adding the binding attribute and supporting validation-driven control of when user-entered data updates the binding source, while preserving the migration use case described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.