public static UIImage ImageOfArrowIcon(UIColor strokeColor) { UIGraphics.BeginImageContextWithOptions(new CGSize(44.0f, 44.0f), false, 0); IconGraphics.DrawArrowIcon(strokeColor); var imageOfArrowIcon = UIGraphics.GetImageFromCurrentImageContext(); UIGraphics.EndImageContext(); return(imageOfArrowIcon); }
public NextButton() { SetImage(IconGraphics.ImageOfArrowIcon(Colors.Grey), UIControlState.Normal); SetImage(IconGraphics.ImageOfArrowIcon(Colors.SpotColor), UIControlState.Highlighted); }
public SwapButton() { SetImage(IconGraphics.ImageOfRefreshIcon(Colors.Grey), UIControlState.Normal); SetImage(IconGraphics.ImageOfRefreshIcon(Colors.SpotColor), UIControlState.Highlighted); }