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
Post a Comment