Super simple C# example
Bamboozled wrote at 2012-06-03 18:19:
I am trying to learn the very basics of using Helix to build an application using C#. There are some wonderful and sometimes quite spectacular examples of using XAML and C#, but I'm finding them a bit too complicated as a first example.
Frustratingly I haven't found any super simple example online. Has anyone got an example of how to build, e.g., a cube using C# and the Helix toolkit?
objo wrote at 2012-06-04 22:30:
yes, I agree, the "SimpleDemo" example should contain some very simple C# code too (a ViewModel), not only XAML. Will fix this soon!
objo wrote at 2012-06-04 22:48:
the "SimpleDemo" example has been changed, I hope this helps.
Bamboozled wrote at 2012-06-05 22:01:
I apologise if I'm missing something obvious, but after updating the package ..\Helix\Source\Examples\SimpleDemo\MainWindow.xaml.cs looks like this:
/// Interaction logic for MainWindow.xaml
public partial class MainWindow : Window
There's no C# code. Where should I be looking?
objo wrote at 2012-06-05 22:09:
It seems like you are not looking at the latest version. There should be a line
this.DataContext = new MainViewModel();
in there. Then see MainViewModel.cs for the code.
Customer support service by UserEcho