Slider control: Print the slider value at the same time when sliding??
Posted: 20 Dec 2018, 20:46
Hi, i'm using NoesisGUI for unreal and I'm trying to use a slider control in my XAML file.
What I want is to continously use the value of a slider(say..print string) when I'm changing the value.
I tried by using "ValueChanged" to create a binding SliderChanged and created the same named function in my NoesisView in unreal, but it does not work.
<Slider HorizontalAlignment="Left" Margin="84,80,0,0" VerticalAlignment="Top" Height="40" Width="191" Value="{Binding XValue, Mode=OneWayToSource} ValueChanged="{Binding SliderChanged}"/>
The same works for a button if I use its "Command" property for binding.
Is there anything I'm missing here?
What I want is to continously use the value of a slider(say..print string) when I'm changing the value.
I tried by using "ValueChanged" to create a binding SliderChanged and created the same named function in my NoesisView in unreal, but it does not work.
<Slider HorizontalAlignment="Left" Margin="84,80,0,0" VerticalAlignment="Top" Height="40" Width="191" Value="{Binding XValue, Mode=OneWayToSource} ValueChanged="{Binding SliderChanged}"/>
The same works for a button if I use its "Command" property for binding.
Is there anything I'm missing here?