Search found 3 matches

by AndyT
03 Aug 2015, 14:31
Forum: General Discussion
Replies: 6
Views: 3048

Re: Reusable UserControls

Great! I got that working using my own namespace rather than GUI.UserControls. Just FYI, if I use the namespace you gave I get the following errors in Unity console... Assets/Editor/NoesisGUI/NoesisAbout.cs(18,13): error CS0234: The type or namespace name 'Label' does not exist in the namespace 'GUI...
by AndyT
03 Aug 2015, 11:53
Forum: General Discussion
Replies: 6
Views: 3048

Re: Reusable UserControls

OK, thanks. I've had a look through the tutorial and changed my XAML to get rid of the ResourceDictionary. To actually use the resource now I have the following snippets within my Grid UserControl... <UserControl.Resources> <local:WobbleTile x:Key="WobbleTile"/> </UserControl.Resources> <G...
by AndyT
31 Jul 2015, 18:53
Forum: General Discussion
Replies: 6
Views: 3048

Reusable UserControls

I am trying to create a UserControl and then have instances of it within the cells of a grid. My most successful attempt so far is using a ResourceDictionary. This works within Blend but does not work when it gets into Unity. In Unity I get the following error in the xaml file at the point I try to ...