Comments (3)
@aybiss I can only guess but I think the original author was wrapping the ObservableCollection so that it was easy to create as a XAML resources for the purpose of demonstrating the binding. Binding to an ObservableCollection is a common scenario in WPF. I'll close this issue, if you have further questions, feel free to ask.
from docs-desktop.
@aybiss isn't wrong ... subclassing ObservableCollection
doesn't do anything useful. You could just create and bind a property and accomplish the same thing. I've seen this page linked as an example of how to get property change notifications from the contents of the collection (changing PersonName
properties, using the example) and that isn't true and doesn't work.
The page and content are pointless.
from docs-desktop.
The page and content are pointless.
I agree. I can only guess as to why they did it the way they did it. As I port content to .NET 6/7/8 these types of articles are to be rolled into bigger conceptual articles. This one, for example, I would see as a section in a generic Bind to collections
type of article, and it would just use ObservableCollection
directly...
from docs-desktop.
Related Issues (20)
- Aplicación2024
- Process Unified User Feedback for March (desktop)
- Process Unified User Feedback for April (desktop)
- error in the doc HOT 1
- Update WinForms migration article to use proper article template
- Two names for same ValidationRule
- Typo - Practical vs Concrete HOT 1
- Clarify that XBAP legacy browser firefox means legacy versions
- [internal] Connect work, peer reviews, etc
- [internal] Company feedback
- [process] Updates to quest workflows
- The control does not exist in tools. First, please explain how to add it. Thanks. HOT 1
- ToolBar need link tool HOT 3
- Incomplete documentation HOT 2
- Visual Studio
- GDI +
- Suggestion for an additional section to Debug Custom Controls walkthrough for newer .NET project types HOT 2
- ISSUE HOT 2
- Image missing or incorrect in section 'Drawing Content in Visual Objects' HOT 2
- Upgrade from `net7.0` to LTS (or STS) version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs-desktop.