skokon
Topic Author
Posts: 11
Joined: 09 Jun 2024, 15:55

Inventory Sample Errors

11 Jun 2024, 21:19

Hi everyone,

I'm currently working with the NoesisGUI inventory sample on Unreal Engine, sticking to version 3.0.7 as newer updates seem to introduce more complications

I'm encountering a few errors that don't stop the program from running but prevent certain parts of the MainWindow from rendering properly

I keep getting a message about needing a Storyboard object reference before a trigger action can execute. It's linked to a Path element styled by Style.StatsIcon

There's also an issue with setting a 'Binding' on the 'EndDragCommand' property of type 'DragTopItemBehavior'. in a DataTemplate

And another problem "'System.Windows.StaticResourceExtension' isn't recognized as a valid value for the 'Storyboard' property" in an EventTrigger

Has anyone else run into similar problems or knows how to fix these? Any advice would be really appreciated

Thanks a lot!
 
skokon
Topic Author
Posts: 11
Joined: 09 Jun 2024, 15:55

Re: Inventory Sample Errors

12 Jun 2024, 00:03

I'm currently stuck on this error
"A 'Binding' cannot be set on the 'EndDragCommand' property of type 'DragItemBehavior'. A 'Binding' can only be set on a DependencyProperty of a DependencyObject." on 
on
                                    <i:Interaction.Behaviors>
                                        <local:DragItemBehavior
                                            StartDragCommand="{Binding DataContext.StartDragItem, ElementName=Root}"
                                            EndDragCommand="{Binding DataContext.EndDragItem, ElementName=Root}"/>
                                        <local:DropItemBehavior
                                            DropCommand="{Binding DataContext.DropItem, ElementName=Root}"/>
                                    </i:Interaction.Behaviors>
I've solved the rest.
 
User avatar
jsantos
Site Admin
Posts: 4822
Joined: 20 Jan 2012, 17:18
Contact:

Re: Inventory Sample Errors

12 Jun 2024, 00:13

3.0.7 is a very old version. Could you please let me know what's preventing you from updating to a newer version? Maybe I can help you find a solution
 
skokon
Topic Author
Posts: 11
Joined: 09 Jun 2024, 15:55

Re: Inventory Sample Errors

12 Jun 2024, 01:05

3.0.7 is a very old version. Could you please let me know what's preventing you from updating to a newer version? Maybe I can help you find a solution
Hi jsantos,

Thank you for your reply.
I've managed to fix the issue by moving the DragItemBehavior to a style in Resources.xaml

Regarding updating to a newer version, I encounter many errors. Here are the files and error logs:

Resources.xaml Pastebin https://pastebin.com/Ke08Nczb
MainWindow.xaml Pastebin https://pastebin.com/vrcisq3M
Errors log Pastebin https://pastebin.com/Bukqi2HR

Currently, I'm using Noesis.GUI.Extensions Version 3.0.30.
 
skokon
Topic Author
Posts: 11
Joined: 09 Jun 2024, 15:55

Re: Inventory Sample Errors

13 Jun 2024, 06:32

I solved the issues and updated everything to last version :)

Who is online

Users browsing this forum: No registered users and 7 guests