Page 1 of 1

[Unity] Calendar control

Posted: 04 Jun 2014, 22:05
by Juke1234
I'm new to xaml and still trying to figure out all of the namespace / .net version issues, so please bear with me. I'd like to implement a Calendar control in Unity. This is my code:
<Page
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <Grid>  
    <Calendar></Calendar>  
  </Grid>
</Page>
As simple as it gets. This works fine in Kaxaml. However, in Unity the Noesis GUIPanel gives the error:
"Ignoring unknown type 'Calendar'

I would appreciate if someone could help me understand why this doesn't work and how to make it work or please explain how to determine what .net components will/won't work in the future?

Thanks

Re: [Unity] Calendar control

Posted: 04 Jun 2014, 22:42
by wckdspn
Noesis does not implement the Calendar control. You can see which controls it implements on this page of the documentation:
http://www.noesisengine.com/docs/Gui.Co ... trols.html

Re: [Unity] Calendar control

Posted: 06 Jun 2014, 02:18
by sfernandez
You can build your own Calendar control by creating a UserControl.
Take a look at the UserControl Tutorial as start.

Re: [Unity] Calendar control

Posted: 06 Jun 2014, 15:13
by Juke1234
Thanks for that reference - I'm sure it will come in handy later on.

For now, I'm brand-new to xaml and the idea of creating a UserControl from scratch is a bit daunting...I think I'll have to look for a different solution.