summaryrefslogtreecommitdiff
path: root/reference/csharp/snippets/Efl.Ui.Slider.cs
blob: 5205a7d29855cd6327d200b4488577e0345d56ea (plain)
1
2
3
4
5
6
7
8
9
Efl.Ui.Slider slider = new Efl.Ui.Slider(parent);

slider.SetRangeLimits(0, 100);
slider.SetRangeValue(50);

slider.ChangedEvent += (sender, args) =>
{
    Console.WriteLine("Current slider value is: " + slider.GetRangeValue());
};