Well put Craig. The only difference I would add (and probably the part that bothers some) is that the 'other file' is also in 'another language syntax.' :o)
>Think of it this way.. In .NET you can have partial classes. That is, classes that are defined in more than one file. The XAML is part of the class, the code is the other, so it is a partial class. Extension Methods are another way to define functionality in a different file.
>
>>You illustrated my point. This whole concept of putting some portions in XAML and some in C# adds a level of ambiguity that seem rather stupid and makes the code more prone to maintenance problems
>>
>>Now if the WPF was simply design tags realted to UI presentation, then I see a clear separation between UI and code. But from what I can see, WPF blends the two together. If someone could go in and change the XAML and that resulted in the app's look changing, and this didn't require a recompile, then I'd say cool.
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"