Move a element relative to another

Hi, can I transfer a value of one element to another? I try to move a button relative to the ScrollPosition of a ScrollViewer. What is the easiest way to do this?


The easiest way is to use the @fuse/triggers/scrollrange trigger.

Unfortunately we haven’t written any examples for how to use this yet, so I have to improvise here:

    <Rectangle ux:Name="rectangle1" Width="100" Height="100">
        <SolidColor Color="#f00" />
        <ScrollRange From="0" To="100">
            <Move Target="rectangle1" X="100" />

Completely untested, but something along those lines :slight_smile:

Works perfect!