المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Generic framework or pattern for adding colomns to a WPF ListView



C# Programming
08-17-2011, 04:10 PM
I am looking for a framework or some site with a description of a possible direction of solution to speed up my development.

My functional design shows a number of screens with WPF listviews on them. All of the screen have a add/remove column button next to each listview. Now adding A column to a listview at runtime is easy. But with the amount of listviews and even more the amount of possible columns to add (400 or so) hacking in code behind will be the next nightmare, I am not even talking about changes. So I am looking for a clean generic approach.

Search the web but no results.

Anybody here been in the same situation? And can push me a bit in the right direction?


Oh MVVM ofcourse.

Thx. Any help is appreciated