In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)05/31 Report--
This article will explain in detail how to use the Progress property to set the progress bar in the Xamarin XAML language. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
Xamarin XAML language tutorial Progress property setting progress bar progress
If a developer wants to modify the current progress, there are two ways to use it: one is to use properties, and the other is to use methods. These two ways are explained below.
1. Working with attributes
A Progress property is defined in ProgressBar, which can be used to set the current progress of the progress bar. Its grammatical form is as follows:
Where progressValue is used to specify the current value, which is of type Double.
Note: ProgressBar does not provide related properties such as MaxXX and MinXX, so the valid value of Progress is the Double type value in the range of 0x1. If the developer sets the property value of Progress to 0, the progress bar returns to its original state.
[example 12-6:CreateProgressBar] the following will set the current progress of the progress bar to 0.8 based on the project CreateProgressBar. The code is as follows:
When you run the program at this point, you will see the effect shown in figure 12.22-12.23.
Figure 12.22 the operation effect of Android figure 12.23 iOS operation effect
This is the end of this article on "how to use the Progress attribute to set the progress bar in the Xamarin XAML language". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 298
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.