Page Browser and DataTrigger - checking if 2 variables are equal

Good morning,

I am using a Page Browser and have a Device (“Device1”) bound to it. I am able to see values related to Device1 in the Page Browser without any issue using @Device.

In that Page Browser, I have multiple devices ‘hard coded’ (“Device2”, “Device3”). I am able to see values related to these devices by directly calling them (e.g. “Device2”.***). This works just fine.

What I am trying to do is see if there is a way that I can compare a value in that Page Browser between Device1 and Device2. A rough example would be checking to see if @Device.Id = Device2.InputSource.

Right now, I have it working with a MultiDataTrigger where I see if @Device.Id = ‘EXAMPLE’ and if Device2.InputSource = ‘EXAMPLE’. But with this implementation, I have to add in a new MultiDataTrigger for all possible values of @Device.Id.

The Value properties for the DataTrigger & MultiDataTrigger do not currently support bindings. They have to be constants, so creating a trigger that compares the 2 is not currently possible.

Ok no problem - thanks for confirming. The MultiData trigger solution works just fine.