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

Docs about Indexer Binding #51

Open
timunie opened this issue Aug 19, 2022 · 1 comment
Open

Docs about Indexer Binding #51

timunie opened this issue Aug 19, 2022 · 1 comment
Labels
content request New docs requires

Comments

@timunie
Copy link
Contributor

timunie commented Aug 19, 2022

from our chat:

Tim, [19.08.2022 11:43]
the question is, is Item the only supported syntax?

Tim, [19.08.2022 11:43]
or is Item[theKey] also working?

Tim, [19.08.2022 11:44]
And is MyOtherIndexedProperty.Item working?

@timunie
Copy link
Contributor Author

timunie commented Sep 10, 2022

I have created a sample for this:
https://github.com/timunie/Avalonia.Samples/tree/Mvvm/IndexerBindingDample/src/Avalonia.Samples/MVVM/IndexerBindingSample

From this sample it looks like only RaisePropertyChanged("Item") is supported. But this will update all properties, not just the one that was changed. Some Research showed, that this is the same for WPF.

Should I open a feature request for Item[theKey] or is this not needed?

@maxkatz6 maxkatz6 added the content request New docs requires label Oct 12, 2022
@maxkatz6 maxkatz6 transferred this issue from another repository Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content request New docs requires
Projects
None yet
Development

No branches or pull requests

2 participants