Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I tried modifing the frecuency of my slider but still I can not set value 0 on my slider and I don't understand why. In the SliderToolTip appears.
XML
<Label TextOptions.TextFormattingMode="Ideal" Width="140" Foreground="#2B3856" FontWeight="Bold" FontSize="16"   Margin="3">Tide Height </Label>
<Slider HorizontalAlignment="Left" x:Name="tideHeight_11"
                     Margin="3"
                     VerticalAlignment="Top"
                     Width="250"
                    Minimum="-12.4" Maximum="12.4"  IsSnapToTickEnabled="True" TickFrequency="1<big></big>" AutoToolTipPlacement="BottomRight" ValueChanged="Slider_ValueChanged"/>
 <TextBlock TextOptions.TextFormattingMode="Ideal" Width="50" Foreground="#2B3856" FontSize="16" x:Name="tideHeightText" Text="{Binding Value, ElementName=tideHeight_11}" >
</TextBlock>

Any help please?
Posted
Updated 12-Dec-14 4:01am
v2

1 solution

Change TickFrequency:
TickFrequency="0.1"
 
Share this answer
 
Comments
Kinna-10626331 12-Dec-14 10:39am    
Thanks!! It is been a long day , I think when I tested that frecuency before I move incorrectly the slider and I miss the solution. Thanks again!
TheRealSteveJudge 12-Dec-14 10:46am    
Your're welcome!
Have a nice weekend.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900