Working with Noesis Samples in Blend
Posted: 28 Sep 2020, 19:12
Hello,
I have probably more XAML/Blend question, but maybe someone can point me in the right direction. I managed to open various samples in Blend and after installing needed NuGet it even shows the entire UI in Design view for MainWindow.xaml, and runs the UI sample just fine directly in Blend. What I have biggest problem with is understanding the entire flow of logic and various small effects that happen.
For example, Inventory - sample that I'm most focused on right now as it's very close to what I want to achieve - has a tooltip. It was extremely hard for me to correlate how this tooltip is triggered, but finally I found most of the logic and markup sits in Resources.xaml. As I'm totally new to Blend, I'd like to know how can I work with the code thats in Resources.xaml visually. I understand that I can only see in designer something that's a window or similar UI element, but I wonder - how was this example created initially? How someone designed and tested this tooltip, as I suppose it was not done entirely via code? Is there some way to refer to these things defined in Resources as ControlTemplates and see them in a way that allows working on specific element like a tooltip, inventory slot etc?
I have probably more XAML/Blend question, but maybe someone can point me in the right direction. I managed to open various samples in Blend and after installing needed NuGet it even shows the entire UI in Design view for MainWindow.xaml, and runs the UI sample just fine directly in Blend. What I have biggest problem with is understanding the entire flow of logic and various small effects that happen.
For example, Inventory - sample that I'm most focused on right now as it's very close to what I want to achieve - has a tooltip. It was extremely hard for me to correlate how this tooltip is triggered, but finally I found most of the logic and markup sits in Resources.xaml. As I'm totally new to Blend, I'd like to know how can I work with the code thats in Resources.xaml visually. I understand that I can only see in designer something that's a window or similar UI element, but I wonder - how was this example created initially? How someone designed and tested this tooltip, as I suppose it was not done entirely via code? Is there some way to refer to these things defined in Resources as ControlTemplates and see them in a way that allows working on specific element like a tooltip, inventory slot etc?