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
Wigl Wagl
NA
5
5.1k
passing datacontext from usercontrol to RadGridView
Nov 25 2014 5:21 AM
Hi,
i'm a beginner of wpf. I use c# and telerik rad controls for wpf. I like to create a simple application with a tabcontrol. I bind a TabViewModel to my TabControl. Also i have a frame control and i load different usercontrols in this frame. In one of these usercontrols i have a RadGridView-control where i load some data from database.
VisualTree:
MainWindow - TabControl - Frame - Usercontrol - RadGirdView
My Problem is, that i have to pass the datacontext from my TabControl to the RadGridView.
Because i want to add a new TabItem out of the DataRow of my RadGridView.
I hope it is clear enough.
Thanks a lot
Best Regards
R
Reply
Answers (
1
)
find focusable element in a control visual child or logical
Add Animation to WPF User Control