How can I change the appearance of a ProgressBar in XAML?

Platform: .NET MAUI|Category: Controls

You can customize the appearance of a ProgressBar in XAML by modifying properties like BackgroundColor, ProgressColor, and HeightRequest.
XAML:

<StackLayout Padding="20">      
        <ProgressBar  Progress="0.6"
                      BackgroundColor="Red"  
                      ProgressColor="Green" 
                      HeightRequest="20"/>           

             <Label   Text="60%" 
                      HorizontalOptions="Center" 
                      VerticalOptions="Center" />
 </StackLayout>