Controlling Visibility of an object
Posted: 10 Dec 2022, 14:42
Hello Everyone
I stuck in some problem.
I created a project in Noesis that contains set of buttons and set of panels.
I wanted to control the visibility of a panel with buttons changing their parameter visibility from false to true.
This is quite classic approach. I have some experience using Unity and long long time ago Action Script :P (I know I know - i am quite old :P)
I did this construction on the guide: https://github.com/CSharpDesignPro/WPF- ... using-MVVM
in attachments I gave you pictures of current construction:
- button construction in project
- panel construction in project
- logic behind the code of controlling visibility
- additional methods
So in general it should not be rocket science.
I did sone debugging - you can see the message boxes. The variable is changing properly but it not affect the appearance for panel.
No errors while build.
I checked all the NoesisGui samples and I know there are some more complex solutions but I though I do not need them.
Final request - I am aware that probably it is not the best solution but in this particular situation is the simple way to do things I need for demo. So I would be very appreciate if we could focus on this problem. To be honest I am lack of time to implement more complex solution.
So please I need some help
Best Regards
I stuck in some problem.
I created a project in Noesis that contains set of buttons and set of panels.
I wanted to control the visibility of a panel with buttons changing their parameter visibility from false to true.
This is quite classic approach. I have some experience using Unity and long long time ago Action Script :P (I know I know - i am quite old :P)
I did this construction on the guide: https://github.com/CSharpDesignPro/WPF- ... using-MVVM
in attachments I gave you pictures of current construction:
- button construction in project
- panel construction in project
- logic behind the code of controlling visibility
- additional methods
So in general it should not be rocket science.
I did sone debugging - you can see the message boxes. The variable is changing properly but it not affect the appearance for panel.
No errors while build.
I checked all the NoesisGui samples and I know there are some more complex solutions but I though I do not need them.
Final request - I am aware that probably it is not the best solution but in this particular situation is the simple way to do things I need for demo. So I would be very appreciate if we could focus on this problem. To be honest I am lack of time to implement more complex solution.
So please I need some help
Best Regards