summaryrefslogtreecommitdiff
path: root/reference/csharp/snippets/Efl.Ui.Slider.cs
diff options
context:
space:
mode:
Diffstat (limited to 'reference/csharp/snippets/Efl.Ui.Slider.cs')
-rw-r--r--reference/csharp/snippets/Efl.Ui.Slider.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/reference/csharp/snippets/Efl.Ui.Slider.cs b/reference/csharp/snippets/Efl.Ui.Slider.cs
new file mode 100644
index 0000000..5205a7d
--- /dev/null
+++ b/reference/csharp/snippets/Efl.Ui.Slider.cs
@@ -0,0 +1,9 @@
1Efl.Ui.Slider slider = new Efl.Ui.Slider(parent);
2
3slider.SetRangeLimits(0, 100);
4slider.SetRangeValue(50);
5
6slider.ChangedEvent += (sender, args) =>
7{
8 Console.WriteLine("Current slider value is: " + slider.GetRangeValue());
9};