15,908,166 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by lyonsjw (Top 3 by date)
lyonsjw
12-Dec-12 8:59am
View
Thanks for your response. I attempted something like that, but abandoned it as I was unable to get the change notifications to flow through the encapsulating class. No matter what I tried the data in the new encapsulating class seemed to be static. It also seemed to be considerably slower than the original classes. If you have a small working example I would be greatly appreciated if you would share it.
lyonsjw
12-Dec-12 0:37am
View
I have done a lot of studying on this and I believe that I now have a better understanding of what I need and how I should ask the question. Although I have many, for the sake of simplicity I will only refer to 2 classes here as an example. I am gathering data in real time. The data is being processed and placed into ObservableCollection classes. All classes will have the same number of data points. Any class can have many duplicates. The order of the data must not change. I am looking for a way to somehow merge multiple classes together side by side so the resulting class can be used as a single data source with all properties combined when data binding to a WPF chart or datagrid. I would like to do this without have to copy all of the data to the new object, something like a data view. Here’s what I mean by “merge multiple classes together side by side”.
Starting with 2 ObservableCollection classes. The first ObservableCollection is of objects with properties A, B and C and the second ObservableCollection is of objects with properties D and E. I would like to be able to combine them into a single data source of A, B, C, D and E. Hopefully as some kind of data view where the underlining data is accessed but not copied. It seems that CompositeCollection just puts them on top of each other.
lyonsjw
11-Dec-12 16:15pm
View
Deleted
Here is some additional detail. I need to be able to combine more than one ObservableCollection into a single data source in a WFP project. So if the first ObservableCollection is of objects with properties A, B and C and the second ObservableCollection is of objects with properties D and E. I would like to be able to combine them into a single data source of A, B, C, D and E. Possibly using a view. It seems that CompositeCollection just puts them on top of each other.