Search This Blog

Thursday, September 29, 2016

Slider WPF Example

WPF > Controls > Slider 

    <Grid>
        <TextBox
            Text="{Binding ElementName=Slider, Path=Value,             UpdateSourceTrigger=PropertyChanged}"
            Margin="33,112,288,172"/>
        <Slider
            Maximum="100"  
            Name="Slider"
            Margin="33,48,288,213"
            IsSnapToTickEnabled="True"
            TickFrequency="1" />
    </Grid>