Image.IsLoading Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the loading status of the image. This is a bindable property.
public:
property bool IsLoading { bool get(); };
public bool IsLoading { get; }
member this.IsLoading : bool
Public ReadOnly Property IsLoading As Boolean
Property Value
A Boolean indicating if the image is loading. Default is false.
Remarks
The following example illustrates running a ActivityIndicator to indicate that the image is loading:
var image = new Image {
Source = new ImageLoader {
Uri = new Uri ("http://eoimages.gsfc.nasa.gov/images/imagerecords/57000/57723/globe_west_2048.jpg"),
CachingEnabled = false,
},
WidthRequest = 200,
HeightRequest = 200,
};
var indicator = new ActivityIndicator {Color = new Color (.5),};
indicator.SetBinding (ActivityIndicator.IsRunningProperty, "IsLoading");
indicator.BindingContext = image;
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET MAUI