0
Answer

Referencing

person

person

15y
2.4k
1
Hi,

I have a usercontrol which is scaled according to the position of slider which resides in the same usercontrol. However if i want to move such a slider to a completely user control which is located elsewhere, how to ensure that the scale transform can reference the position of the slider?

<ScaleTransform
                    ScaleX="{Binding Path=Value,
                                ElementName=zoomSlider}"
                    ScaleY="{Binding Path=Value,
                                ElementName=zoomSlider}"/>

The binding will have to be changed, though to what? ----- MyUsercontrol.zoomSlider

Thanks in advance

Urema.