[Unity] Calendar control
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:
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
Code: Select all
<Page
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Grid>
<Calendar></Calendar>
</Grid>
</Page>
"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
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
http://www.noesisengine.com/docs/Gui.Co ... trols.html
-
-
sfernandez
Site Admin
- Posts: 2908
- Joined:
Re: [Unity] Calendar control
You can build your own Calendar control by creating a UserControl.
Take a look at the UserControl Tutorial as start.
Take a look at the UserControl Tutorial as start.
Re: [Unity] Calendar control
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.
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