How to change height of progress bar in Xamarin Forms?

前端 未结 5 437
深忆病人
深忆病人 2021-01-05 11:05

How do I change the height of a Xamarin Forms ProgressBar in code? Am using Xamarin Forms V2.1.

.HeightRequest and .MinimumHeightRequ

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-05 11:44

    For me, the most simple solution is to use Xamarin.Forms.Visual.Material Then in your XAML, in progress bar set HeightRequest property to what you want and use Visual property as Material.

提交回复
热议问题