Separating xaml from xaml.cs

44 views
Skip to first unread message

deedee

unread,
Sep 10, 2012, 4:05:35 PM9/10/12
to mono-...@googlegroups.com
Hi,

In the dll, I noticed that all the xaml classes have a  ' System.CodeDom.Compiler.GeneratedCodeAttribute' with "PresentationBuildTasks" as it's argument. This applies to even the code-behind partial class which contains our code (in the xaml.cs file).

Is there a property or a flag somewhere that will distinguish the method instructions coming from a xaml vs code behind class? (eg. an event handler attached from within the xaml vs in the xaml.cs)?

Thanks :)

deedee

unread,
Sep 10, 2012, 4:15:13 PM9/10/12
to mono-...@googlegroups.com
Oh well. I guess I can exclude the InitializeComponent method -- that should take care of it, because all of the xaml instructions must be in that method only.

But any other ideas are welcome!

Thanks again :)

deedee

unread,
Sep 10, 2012, 4:38:34 PM9/10/12
to mono-...@googlegroups.com
Surprisingly, that does not work :(
Reply all
Reply to author
Forward
0 new messages