Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

ProgressBar IOS height

$
0
0

Hi all,

Below is my custom renderer (in case it helps anyone) for a progress bar (IOS). Is there a way to increase its height? I can't find a way to do that, I've already changed the color.

    [assembly: ExportRenderer(typeof(CustomProgressBar), typeof(CustomProgressBariOs))]

    namespace FXWell.iOS
    {
        public class CustomProgressBariOs: ProgressBarRenderer
        {
            protected override void OnElementChanged(ElementChangedEventArgs<Xamarin.Forms.ProgressBar> e)
            {
                base.OnElementChanged(e);

                Control.ProgressTintColor = UIColor.Red;
            }
        }
    }

Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>