Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

Slider with Tick Marks (TickFrequency=10, TickPlacement=BottomRight)

<Window x: Class="ClassicControls.SlidersCompared"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     Title="SlidersCompared" Height="300" Width="400">     <Grid>       <StackPanel Margin="10">         <TextBlock Margin="0,15,0,5">Slider with Tick Marks (TickFrequency=10, TickPlacement=BottomRight)</TextBlock>         <Slider Maximum="100" Value="10" TickFrequency="10" TickPlacement="BottomRight"></Slider>       </StackPanel>     </Grid> </Window>