put this:
IsSnapToTickEnabled="True"
into your XAML for the slider
(right click the slider and click view XAML.. then put that into the part of XAML for the slider)
Works great.. no decimals or extra numbers!
Expression Blend
Showing posts with label slider. Show all posts
Showing posts with label slider. Show all posts
Thursday, October 18, 2007
Monday, October 15, 2007
Slider that changes text block value
1. Make a slider (in the asset library) and name it "mySlider"
2. Make a text block name it "myTextBlock"
3. Click the small square in common properties tab next to text field
4.In the context menu, click Data Binding.
5.The Create Data Binding dialog box appears. On the Element Property tab, choose the mySlider (in the Scene elements column).
6.In the column to the right, choose the property Value.
7.Click Finish. An orange border appears around the text box of the property that has been bound
Im working on figuring out how to make it not use decimals
2. Make a text block name it "myTextBlock"
3. Click the small square in common properties tab next to text field
4.In the context menu, click Data Binding.
5.The Create Data Binding dialog box appears. On the Element Property tab, choose the mySlider (in the Scene elements column).
6.In the column to the right, choose the property Value.
7.Click Finish. An orange border appears around the text box of the property that has been bound
Im working on figuring out how to make it not use decimals
Subscribe to:
Posts (Atom)