![]() ![]() Source = ImageSource.FromStream(() => stream) Images can be loaded from streams with the ImageSource.FromStream method: Image image = new Image In this example, the caching period is set to 10 days. The equivalent C# code is: Image image = new Image() To set a specific cache period, set the Source property to an UriImageSource object that sets its CacheValidity property: The default value of this property is true.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |