The following is the ability to implement Silder and textbox data binding, that is, the value of Silder and the value of the textbox can be linked operation.
The Imagexaml code is as follows:<SliderGrid.Row= "0"Grid.column= "0"Margin= "0 0 0"Minimum= "0"Maximum= "255"Name= "Slider0"SmallChange= "0.1"LargeChange= "5"issnaptotickenabled= "True"Value="{Binding elementname=textbox1, path=text}" > </Slider><TextBoxGrid.Row= "0"Grid.column= "1"VerticalAlignment= "Center"HorizontalAlignment= "Center"FontSize= "+"Name= "TextBox1"Text="{Binding Elementname=slider0,path=value}"> </TextBox>this can be achieved. Before value= "{Binding elementname=textbox1, path=value}", a value was entered in the TextBox, but the slider did not change because the Path was wrong and should be changed to the Text property.
XAML implementation Silder data binding to a TextBox-foreground data binding