summaryrefslogtreecommitdiff
path: root/reference/csharp/snippets/Efl.Ui.Progressbar.cs
blob: a340ae438dcf72d37eb6cbcdde99eca80c646ca4 (plain)
1
2
3
4
5
6
7
8
9
10
11
Efl.Ui.Progressbar progressbar = new Efl.Ui.Progressbar(parent);

// You can choose the range limits according to your needs.
// It can be percentage, but it can be also different value (e.g. number of files to be copied)
progressbar.SetRangeLimits(0.0, 100.0);

// Setting initial progress value
progressbar.RangeValue = 0;

// When progress is made you should modify the RangeValue:
progressbar.RangeValue = 33;