Juke1234
Topic Author
Posts: 2
Joined: 04 Jun 2014, 17:26

[Unity] Calendar control

04 Jun 2014, 22:05

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
 
wckdspn
Posts: 67
Joined: 18 Aug 2012, 23:14

Re: [Unity] Calendar control

04 Jun 2014, 22:42

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
 
User avatar
sfernandez
Site Admin
Posts: 2908
Joined: 22 Dec 2011, 19:20

Re: [Unity] Calendar control

06 Jun 2014, 02:18

You can build your own Calendar control by creating a UserControl.
Take a look at the UserControl Tutorial as start.
 
Juke1234
Topic Author
Posts: 2
Joined: 04 Jun 2014, 17:26

Re: [Unity] Calendar control

06 Jun 2014, 15:13

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.

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Semrush [Bot] and 9 guests