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
Pit Pi
NA
2
0
Big big problem with WPF App.
Aug 21 2009 4:10 AM
Hi.
I have a strange problem to solve. I am new in WPF. I need to develop a project in WPF. So I need to create WPF Application or WPF Browser Application which can modify user interface.
For example this app should have toolbox(like in VisualStudio) with controls which are strored in Database(there is a tables with control names, attributes and values). We also have a canvas on whitch we can drag and drop controls from toolbox. We also should have a panel with properties of active control. The storage of only xaml is not a big problem but I don not know what to do with methods. For example when we add a button from toolbox to our canvas(drag&drop) we are creatiang a new instance of button on canvas - how can I code a button click event for example? When I add a attribute Click with method name to xaml I am getting an error: Must compile XAML file that specifies events.
What do I have to do? My xaml must be stored in DB but what with business logic? Where do I have to sore it?
regards
Reply
Answers (
1
)
Triggers and data binding
C# project to WPF?