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
Ibuomi Abibo
NA
3
5.1k
Window-to-Page inheritance C#, XAML, WPF
Jan 10 2011 6:52 PM
Hi,
I have a window (Window1) with a ListBox (list1) bound to an xml file and a button that calls another page (Page1). Page1 implements methods to append to or alter the xml file however the control list1 is not recognized on Page1. So far I have referenced Window1 in the xaml file of Page1 as such:
xmlns:local=
"clr-namespace:RecipeApp"
I have also tried to reference Window1 on Page1 as such
public partial class Page1 : namespace.Window1
{}
but I get an error stating that "Partial declarations must not specify different base classes". My objective is to utilize the controls of Window1 on Page1 through referencing or by Window-to-Page inheritance. Any ideas would be helpful.
Thanks.
Thanks
Reply
Answers (
1
)
ListBox Imges with the horizontal Tiker
changing controls which was created dynamically