Xaml 如何使用FFImageLoading&x27;uwp项目中的s FFImage
我在Nuget中下载了Xaml 如何使用FFImageLoading&x27;uwp项目中的s FFImage,xaml,uwp,ffimageloading,Xaml,Uwp,Ffimageloading,我在Nuget中下载了Xamarin.FFImageLoading.Forms,说明它支持uwp。我遵循了FFImageLoading/samples/Simple.WinUniversal.Sample/,并在MainPage.xaml中引用了 xmlns:ff="using:FFImageLoading" xmlns:fft="using:FFImageLoading.Transformations" 我想使用FFImage,所以 <ff:FFImage Name="
Xamarin.FFImageLoading.Forms
,说明它支持uwp。我遵循了FFImageLoading/samples/Simple.WinUniversal.Sample/
,并在MainPage.xaml中引用了
xmlns:ff="using:FFImageLoading"
xmlns:fft="using:FFImageLoading.Transformations"
我想使用FFImage
,所以
<ff:FFImage Name="Image"
Grid.Row="1"
VerticalAlignment="Stretch"
HorizontalAlignment="Stretch"
TransformPlaceholders="False"
LoadingPlaceholder="loading.png"
ErrorPlaceholder="error.png"
CacheDuration="30"
RetryCount="3"
RetryDelay="250"
Height="500"
Width="500"
DownsampleToViewSize="True"
DownsampleMode="None"
Source="http://loremflickr.com/600/600/nature?filename=simple.jpg">
</ff:FFImage>
那么,使用FFImage
的正确方法是什么呢。Thx
如何在uwp项目中使用FFImageLoading的FFImage
请检查此项,它是控制项,无法用于本机uwp项目
对于uwp平台,我们建议使用替换该平台。有关更多信息,请参阅此
由于某些原因,就像NetFlix设计的主页一样,ImageEx
在返回时会导致大量内存使用,而设置主页NavigationCacheMode=NavigationCacheMode.Required/Enabled代码>。如果存在错误,请在Microsoft社区工具包源代码处报告。谢谢。
Unknown type 'FFImage' in XML namespace 'using:FFImageLoading'
<controls:ImageEx x:Name="ImageExControl1"
IsCacheEnabled="True"
Source="/Assets/Photos/LunchBreak.jpg"
PlaceholderSource="/Assets/Photos/ImageExPlaceholder.jpg"
Style="{StaticResource BaseStyle}"/>