Has the ability to provide a CodeBehind compile at runtime source file been removed from WPF altogether
used to be a CodeBehind element in http://schemas.microsoft.com/winfx/xaml/2005
None of the samples that use it work anymore.
Has the ability to provide a CodeBehind compile at runtime source file been removed from WPF altogether
used to be a CodeBehind element in http://schemas.microsoft.com/winfx/xaml/2005
None of the samples that use it work anymore.
CodeBehind gone?
smiledotnet
So, there's no ability to provide source code that is compiled at runtime
Toghian
I do not believe there ever has been the ability to provide source code that is compiled at runtime. The x:Code element that allows you to put a block of code in your XAML file takes that block and inserts it into the .g.cs file corresponding to the XAML file as part of the compilation process, not during runtime. The x:CodeBehind attribute pointed to the corresponding code-behind file which helped tooling, but didn't actually mean anything in the compilation process.
Laurence1215
Blue9000