View CreatePagerIndicators() { var pagerIndicator = new PagerIndicatorDots() { DotSize = 5, DotColor = Color.Black }; pagerIndicator.SetBinding(PagerIndicatorDots.ItemsSourceProperty, "Pages"); pagerIndicator.SetBinding(PagerIndicatorDots.SelectedItemProperty, "CurrentPage"); return(pagerIndicator); }
PagerIndicatorDots CreatePagerIndicators() { PagerIndicatorDots pagerIndicator = new PagerIndicatorDots() { DotSize = 7, SelectColor = ApplicationStyle.GreenColor, UnSelectColor = ApplicationStyle.LineColor, VerticalOptions = LayoutOptions.CenterAndExpand, }; pagerIndicator.SetBinding(PagerIndicatorDots.ItemsSourceProperty, "Pages"); pagerIndicator.SetBinding(PagerIndicatorDots.SelectedItemProperty, "CurrentPage"); return(pagerIndicator); }
View CreatePagerIndicators() { var pagerIndicator = new PagerIndicatorDots() { DotSize = 5, DotColor = Color.Black }; pagerIndicator.SetBinding (PagerIndicatorDots.ItemsSourceProperty, "Pages"); pagerIndicator.SetBinding (PagerIndicatorDots.SelectedItemProperty, "CurrentPage"); return pagerIndicator; }