xaml - Slider type progress-bar in Xamarin or Windows phone -


i developing xamarin form application. want create custom progress bar. slider increments it's according progress. slider value should minimum , should increment it's value according progress. when task finished slider should have maximum value. how can achieve this? there windows phone custom progress bar this? please me?

var progressbar = new progressbar(); 

you can change progress manually:

progressbar.progress = 0.2f; 

or bind viewmodel:

progressbar.setbinding<yourviewmodel>(progressbar.progressproperty, v => v.yourprogressproperty); // then: yourviewmodel.yourprogressproperty = 0.4f; 

or animations:

await progressbar.progressto(0.95f, 250, easing.linear); 

https://developer.xamarin.com/api/type/xamarin.forms.progressbar/


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -