Search found 10 matches

by riveranb
27 Jul 2020, 05:59
Forum: General Discussion
Replies: 3
Views: 1591

Re: v3.0.3 Unity project setting "Preloaded Assets" for xamls needed?

In 3.0 we no longer provide a list of "Preloaded Assets", what we do is rely on asset dependencies to be more Unity friendly. You can use our <noesis:Xaml.Dependencies> extension to specify in the root xaml runtime dependencies that you will manually load using LoadXaml. This way you will...
by riveranb
24 Jul 2020, 13:44
Forum: General Discussion
Replies: 3
Views: 1591

v3.0.3 Unity project setting "Preloaded Assets" for xamls needed?

I upgraded my project from v2.2.x to v3.0.3 . I developed multi-language localization based on official localization.unity sample. Here is my class to store necessary resource dictionary. public class Localization { public string Name { get; set; } public ResourceDictionary Resources { get; set; } }...
by riveranb
23 Jul 2020, 01:56
Forum: General Discussion
Replies: 2
Views: 1203

Re: v3 (DelegateCommand) Command binding implementation

If your ViewModel does not implement INotifyPropertyChanged and notifies with PropertyChanged event when a property changes, then you should set the properties before DataContext is set, otherwise property changes are not notified to the binding engine. In 2.2 initialization process was a bit diffe...
by riveranb
22 Jul 2020, 16:07
Forum: General Discussion
Replies: 2
Views: 1203

v3 (DelegateCommand) Command binding implementation

I am trying to upgrade NoesisGUI from v2.2.x to v3.0.x for my project. After several days survey and trying. I found that DelegateCommand instance setup for command binding have something different. I created a test user-control (Test3Window) <Grid> <StackPanel> <Button Content="Command-1"...
by riveranb
25 Feb 2020, 08:55
Forum: General Discussion
Replies: 4
Views: 3969

Re: MenuItem with TextBox possible?

Not your fault at all, it is a bug in Noesis, I was able to reproduce it.
Could you please report it in our bugtracker?

We will fix it for the next release.
Thank you.
I have just issued one report.
https://www.noesisengine.com/bugs/view.php?id=1629
Hope this can help.
by riveranb
15 Feb 2020, 12:08
Forum: General Discussion
Replies: 4
Views: 3969

Re: MenuItem with TextBox possible?

After trying it seems like a bug of floating TextBox?

When I used TextBox in a ToolBar with "ToolBar.OverflowMode"="AsNeeded", I got the same exception in Unity when that TextBox was in overflow mode.
And TextBox seemed working well as I got that exception.
by riveranb
14 Feb 2020, 15:00
Forum: General Discussion
Replies: 4
Views: 3969

MenuItem with TextBox possible?

I'm new to WPF xaml. I want to design customized MenuItem, so I try with some snippets like this (reference: https://stackoverflow.com/questions/15496218/wpf-textbox-menuitem-lose-focus-when-moving-mouse) I designs a ContextMenu. <ContextMenu> ... <MenuItem> <MenuItem.Header> <Border> <TextBox Width...
by riveranb
13 Nov 2019, 11:50
Forum: General Discussion
Replies: 2
Views: 2653

Re: UI screen space viewport

Alright, understood.
Thank you for quick reply!
by riveranb
13 Nov 2019, 11:46
Forum: General Discussion
Replies: 1
Views: 2645

How to use ToolBarTray?

I saw official manual mentioned about ToolBarTray, and I can see ToolBarTray class in Noesis namespace. However when I tried to use ToolBarTray, I got error in Unity editor. My simple xaml just looks like this <DockPanel> <ToolBarTray DockPanel.Dock="Top"> <ToolBar> </ToolBar> </ToolBarTra...
by riveranb
13 Nov 2019, 09:53
Forum: General Discussion
Replies: 2
Views: 2653

UI screen space viewport

Is there a API to get screen space viewport information of any UIElement? From the following post https://www.noesisengine.com/forums/viewtopic.php?f=3&t=1542&p=8842&hilit=screen+bounding+box#p8842 I know UIElement.PointToScreen() can calculate screen space coordinate. So maybe I can com...