Click here to Skip to main content
15,890,609 members
Home / Discussions / C#
   

C#

 
GeneralRe: Parameterized Query ........... which was not supplied Pin
Luc Pattyn8-Jan-11 17:29
sitebuilderLuc Pattyn8-Jan-11 17:29 
AnswerRe: Parameterized Query ........... which was not supplied Pin
Not Active9-Jan-11 4:44
mentorNot Active9-Jan-11 4:44 
QuestionXAML writer serialization limitation Pin
Serval Soft8-Jan-11 5:58
Serval Soft8-Jan-11 5:58 
AnswerRe: XAML writer serialization limitation Pin
jschell8-Jan-11 8:45
jschell8-Jan-11 8:45 
GeneralRe: XAML writer serialization limitation Pin
Serval Soft8-Jan-11 9:22
Serval Soft8-Jan-11 9:22 
GeneralRe: XAML writer serialization limitation Pin
Eddy Vluggen8-Jan-11 9:27
professionalEddy Vluggen8-Jan-11 9:27 
GeneralRe: XAML writer serialization limitation Pin
Serval Soft8-Jan-11 10:23
Serval Soft8-Jan-11 10:23 
GeneralRe: XAML writer serialization limitation Pin
jschell10-Jan-11 8:57
jschell10-Jan-11 8:57 
Serval Soft wrote:
Using Windows Form, you cannot directly serialize Buttons or TextBox and other controls, but in XAML you can do this


No.

The XAML contains a description which maps to a control. It doesn't contain the control itself.

http://blogs.msdn.com/b/mhendersblog/archive/2005/10/07/478284.aspx[^]

If you want some arbitrary event handler to do the same then you need to provide sufficient information to provide a description (not the event handler) so it can be mapped as well.

I would suspect that there might even be some fairly easy way to do that if one wrapped the event handler in a class and derived from the correct object. However depending on the layout I would suspect it would be easier and more correct to create your own controls which have event handlers and then do the appropriate work to map those controls into XAML.
Questioncreate a modern dictionary Pin
mory_2607-Jan-11 21:24
mory_2607-Jan-11 21:24 
AnswerRe: create a modern dictionary Pin
OriginalGriff7-Jan-11 22:04
mveOriginalGriff7-Jan-11 22:04 
AnswerRe: create a modern dictionary Pin
Abhinav S8-Jan-11 0:51
Abhinav S8-Jan-11 0:51 
AnswerRe: create a modern dictionary Pin
Not Active8-Jan-11 3:24
mentorNot Active8-Jan-11 3:24 
AnswerRe: create a modern dictionary Pin
Yusuf8-Jan-11 4:48
Yusuf8-Jan-11 4:48 
GeneralRe: create a modern dictionary Pin
Ali Al Omairi(Abu AlHassan)8-Jan-11 9:53
professionalAli Al Omairi(Abu AlHassan)8-Jan-11 9:53 
QuestionI Want to know where's the error in this update Method ? Pin
Honeyboy_207-Jan-11 9:18
Honeyboy_207-Jan-11 9:18 
AnswerMy guess Pin
Keith Barrow7-Jan-11 9:28
professionalKeith Barrow7-Jan-11 9:28 
GeneralRe: My guess Pin
Honeyboy_207-Jan-11 10:15
Honeyboy_207-Jan-11 10:15 
GeneralRe: My guess Pin
Keith Barrow7-Jan-11 10:29
professionalKeith Barrow7-Jan-11 10:29 
GeneralRe: My guess Pin
Eddy Vluggen7-Jan-11 11:12
professionalEddy Vluggen7-Jan-11 11:12 
GeneralRe: My guess Pin
Not Active7-Jan-11 11:53
mentorNot Active7-Jan-11 11:53 
GeneralRe: My guess Pin
Eddy Vluggen7-Jan-11 22:05
professionalEddy Vluggen7-Jan-11 22:05 
GeneralRe: My guess Pin
Honeyboy_207-Jan-11 11:20
Honeyboy_207-Jan-11 11:20 
GeneralRe: My guess Pin
Not Active7-Jan-11 11:50
mentorNot Active7-Jan-11 11:50 
GeneralRe: My guess Pin
Honeyboy_207-Jan-11 12:04
Honeyboy_207-Jan-11 12:04 
GeneralRe: I Want to know where's the error in this update Method ? Pin
JOAT-MON7-Jan-11 9:29
JOAT-MON7-Jan-11 9:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.