Slider with Irregular Tick Marks (Ticks=0,5,10,15,25,50,100) : Slider « Windows Presentation Foundation « VB.Net






Slider with Irregular Tick Marks (Ticks=0,5,10,15,25,50,100)

Slider with Irregular Tick Marks (Ticks=0,5,10,15,25,50,100)
      


<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 Irregular Tick Marks (Ticks=0,5,10,15,25,50,100)</TextBlock>
        <Slider Maximum="100" Value="10" Ticks="0,5,10,15,25,50,100"  TickPlacement="BottomRight"></Slider>

      </StackPanel>
    </Grid>
</Window>

   
    
    
    
    
    
  








Related examples in the same category

1.Slider with Tick Marks (TickFrequency=10, TickPlacement=BottomRight)Slider with Tick Marks (TickFrequency=10, TickPlacement=BottomRight)
2.Slider with a Selection Range (IsSelectionRangeEnabled=True, SelectionStart=25, SelectionEnd=75)Slider with a Selection Range (IsSelectionRangeEnabled=True, SelectionStart=25, SelectionEnd=75)
3.Use Slider to scale a LineUse Slider to scale a Line
4.Use Slider to scale a RectangleUse Slider to scale a Rectangle
5.Use Slider to Control LabelUse Slider to Control Label
6.Slider AttributesSlider Attributes
7.Get User Input from a SliderGet User Input from a Slider
8.slider value changed eventslider value changed event