summaryrefslogtreecommitdiff
path: root/reference/csharp/snippets/Efl.Ui.Progressbar.cs
diff options
context:
space:
mode:
Diffstat (limited to 'reference/csharp/snippets/Efl.Ui.Progressbar.cs')
-rw-r--r--reference/csharp/snippets/Efl.Ui.Progressbar.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/reference/csharp/snippets/Efl.Ui.Progressbar.cs b/reference/csharp/snippets/Efl.Ui.Progressbar.cs
new file mode 100644
index 00000000..a340ae43
--- /dev/null
+++ b/reference/csharp/snippets/Efl.Ui.Progressbar.cs
@@ -0,0 +1,11 @@
1Efl.Ui.Progressbar progressbar = new Efl.Ui.Progressbar(parent);
2
3// You can choose the range limits according to your needs.
4// It can be percentage, but it can be also different value (e.g. number of files to be copied)
5progressbar.SetRangeLimits(0.0, 100.0);
6
7// Setting initial progress value
8progressbar.RangeValue = 0;
9
10// When progress is made you should modify the RangeValue:
11progressbar.RangeValue = 33;