16,012,316 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 .NET 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 ChriDo61 (Top 2 by date)
ChriDo61
1-Dec-15 4:39am
View
Hello marktubu,
Thank you for that hint. I was not familiar with that Property of the ListView-class.
I was able to get the wanted behaviour using your suggested code. :)
But since I'm working with MVVM I'm not 100% happy with this solution. I don't want the Viewmodel to have to know the name of any control in the view.
But you gave me a good starting point for a research on that issue. Thanks a lot.
ChriDo61
3-Mar-15 3:26am
View
I tried working with these but I didn't get the result I wanted. From your hint I got to Preview Handlers but they are too unflexible.
The new idea is to make a dialog with a tree view on the left in which a windows-explorer-like tree with all paths of the system is set up. And if you choose a file a preview is made on the right side of the dialog.
Maybe you have any idea for a good sample of that kind of treeview ?