How do XAML files associate with cs files?

Posted by LLS on Stack Overflow See other posts from Stack Overflow or by LLS
Published on 2010-06-05T14:33:34Z Indexed on 2010/06/05 14:52 UTC
Read the original article Hit count: 176

Filed under:
|
|

It seems that XAML files should have corresponding .cs files in a C# project. I know Visual Studio does all the things for us. I'm just curious how they are linked together? I mean, are they specified in the project file, or just because they have the same names? And also, App.xaml file specifies the startup file, but how does the compiler know? Is it possible to appoint another file other than App.xaml to do the same things as App.xaml does?

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf