Skip to content

Commit

Permalink
Update images.md
Browse files Browse the repository at this point in the history
Fix string to uri conversion error in code example.
  • Loading branch information
chad-ramos authored Sep 25, 2019
1 parent d3163aa commit 6d637d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/xamarin-forms/user-interface/images.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ A [`UriImageSource`](xref:Xamarin.Forms.UriImageSource) also supports caching of
Caching is enabled by default and will store the image locally for 24 hours. To disable caching for a particular image, instantiate the image source as follows:

```csharp
image.Source = new UriImageSource { CachingEnabled = false, Uri="http://server.com/image" };
image.Source = new UriImageSource { CachingEnabled = false, Uri = new Uri("http://server.com/image") };
```

To set a specific cache period (for example, 5 days) instantiate the image source as follows:
Expand Down

0 comments on commit 6d637d0

Please sign in to comment.