Triggers have disappeared from Designer, still operate

Triggers assigned to various controls are not showing up in the Designer. The actions that the triggers performed are still working, I just can’t see/edit them.

I’ve gone back a few versions and have done hundreds of edits, I’d rather not have to completely restart my project. Clearly the triggers are still part of the HRP file, the designer just isn’t displaying them.

Steps to reproduce:

In above shot, this Button in the Tile Template definitely works and is performing the scene as originally programmed into the Trigger. But now the trigger in the designer is “gone”.

Seems to be only elements that I’ve “touched”; for example, unmodified Tile Templates (from the normal set of Home Remote templates) all have in-tact triggers, but xmls that have been saved have lost the visible triggers.

This does not occur with every save. I’m not sure when/how the triggers disappeared.

Was this a project that was converted from a previous Home Remote version? I had a similar issue when I migrated from v2 to v3 and the only remedy was to create a v3 project from scratch and start over.

If I were to guess, something is corrupt in the XAML, bad namespace declaration, etc. If you want to attach your XAML file I can look at it & try to fix it for you.

I am unable to reproduce this issue myself. Can you elaborate a bit more & provide a step-by-step?

Bill’s response reminded me of something. I was missing something in the first XML line of some of the pages. Check all the pages of your project for the first line to have the following (not in this exact order):

<hr:ContentPage xmlns:x=“http://schemas.microsoft.com/winfx/2006/xaml” xmlns:d=“http://schemas.microsoft.com/expression/blend/2008” xmlns:mc=“http://schemas.openxmlformats.org/markup-compatibility/2006” xmlns=“http://schemas.microsoft.com/winfx/2006/xaml/presentation” Title=“Home” xmlns:hr=“http://schemas.thehomeremote.com/winfx/2015/xaml”>

I am having the same issue. Can you explain how you fix this issue?

Open the page you’re having issues with in the designer and click on the XAML view (toward bottom right of your screen). Copy the first line and post it here.

It would not let me copy and paste. This is a screenshot of what you requested. Thank you in advance.
Screenshot 2022-05-31 114911

Never mind I figured it out. Thank you for your attempt

2022-05-31 22_19_27-test Ricos Office Tablet.hrp - Home Remote Designer
This does not below here. When I delete this the event trigger reappears. Not sure what happened, but this is on every event trigger on all the pages in the designer. Bill, do you have any advice on how this could have happened? What did I do wrong?

Do you have the latest Designer version installed? Check to verify that you are running 4.5.0.0.

https://downloads.thehomeremote.com/designer/index.html

That was the fix I needed thank you. All of my old projects now shows the event trigger.