Can you have a label track the slider thumb position?

Was wondering if you could have a label track the position of the thumb as part of the slider? If not, would be nice to be added.

If it is to track a level on an actual device, bind both the slider and a label to a device’s level

If you want to type a value in the text box and have the value set to that, then bind a text box to it instead of a label.

If you want to just have a slider tied to a text box or label (no actual device), then create a virtual device with a variable and bind everything to that.

1 Like

What Scot said will work & that probably is the preferred way. You can also bind a Label directly to the Slider itself using an Element Binding. You just need to assign your Slider a Name in order to use Element Bindings. The default DimmerDetails.xaml file uses Scot’s method. Screenshot below is a version I modified showing how an Element Binding would look.

1 Like

Okay. Thanks, Guys. I’ll play with it and see if it’s what I’m hoping for. Much appreciated.