TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Simon
NA
8
0
Different types of template selector
Dec 13 2010 4:16 AM
Hi folks,
I want to use a template selector to switch between different user controls.
Everything worked fine so far. I have used a CellTemplateSelector in a GridView, an
ItemTemplateSelector in a listview and so on.
Now I want to display a custom user control depending on a value chosen by the user.
How can I use a template selector, let's say, in a Grid or Dockpanel?
There must be a way to apply a template selector to these panels?!
I haven't found anything on the web so far, but I assume that there must be something like a ContentTemplateSelector for panels or something similiar.
I appreciate any help.
Regards,
Simon
Reply
Answers (
3
)
wpf toolkit
Dynamically create ComboBox on click of button in vb (wpf)