Search found 1935 matches

by sfernandez
13 Oct 2020, 17:06
Forum: General Discussion
Replies: 5
Views: 222

Re: Switch which textbox shows caret programatically

Hi, I tried to reproduce your scenario to see what was happening with the focus but noticed something. If you are changing the focus to another TextBox when showing your software keyboard control then the SetSoftwareKeyboardCallback will be called again to hide it (because original TextBox will lose...
by sfernandez
13 Oct 2020, 16:36
Forum: General Discussion
Replies: 5
Views: 233

Re: LoadXaml throws a warning "does not inherit from x: Class"

Were you able to make it work using the ControlTemplate as I suggested?
Can we mark this as solved?
by sfernandez
07 Oct 2020, 10:49
Forum: General Discussion
Replies: 5
Views: 233

Re: LoadXaml throws a warning "does not inherit from x: Class"

Is it possible that you are defining a xaml for WindowEx and you are calling LoadComponent for WindowEx constructor too? You can't do that, only the instantiated class can have an associated xaml. But you can define a ControlTemplate for WindowEx and then use it in your DesignerMainWindow by setting...
by sfernandez
01 Oct 2020, 13:08
Forum: General Discussion
Replies: 6
Views: 257

Re: How to convert a String in NoesisXaml and then show it on Screen

First you need a xaml file like this: <Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> </Grid> Then drag the generated xaml asset to the Main camera gameobject and it will automatically create a NoesisView component on th...
by sfernandez
01 Oct 2020, 12:20
Forum: General Discussion
Replies: 6
Views: 257

Re: How to convert a String in NoesisXaml and then show it on Screen

Hi, Calling Noesis.GUI.ParseXaml(xamlText) will load an UI from a xaml text. The returned object can be added to an existing UI tree, for example you can have a simple xaml with a root Grid attached to your main camera, and then do the following in a MonoBehavior: NoesisView view = GetComponent<Noes...
by sfernandez
30 Sep 2020, 19:01
Forum: General Discussion
Replies: 6
Views: 176

Re: Image Source not working when Binding

Great to hear that, you're welcome.
by sfernandez
30 Sep 2020, 17:45
Forum: General Discussion
Replies: 6
Views: 176

Re: Image Source not working when Binding

You can use Xaml.Dependencies for any kind of resource that can be referenced by a xaml: other xamls, images, fonts or sounds. In your xaml you can include the following: <noesis:Xaml.Dependencies> <noesis:Dependency Source="../Images/TrainingSessionsCards/SESSION_REST.png"/> <!-- ... and all the im...
by sfernandez
29 Sep 2020, 16:31
Forum: General Discussion
Replies: 6
Views: 176

Re: Image Source not working when Binding

Hi, @Noa3 was right, our Unity integration tries to follow the same behavior that other assets in Unity, so only assets that are referenced in the scene are available when playing. If you select a xaml asset you will see in the inspector a list of dependencies. We parse the source xaml file looking ...
by sfernandez
29 Sep 2020, 16:24
Forum: General Discussion
Replies: 3
Views: 95

Re: strange expanding effect after resizing the window

Thanks for the ticket, we'lll investigate it.
by sfernandez
29 Sep 2020, 16:23
Forum: General Discussion
Replies: 4
Views: 163

Re: Working with Noesis Samples in Blend

In Blend when you are editing a window in the designer, next to the Properties you will find the Resources tab. Inside you will see a list of all ResourceDictionaries used by the xaml, and expanding a dictionary will show all the resources it defines. You can right-click on a template resource and s...