Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Can not set the content of ListViewCachingStrategy as it doesn't have a ContentPropertyAttribute

$
0
0

The following worked for me until I tried to upgrade to .Net Standard 1.4:

       <ListView x:Name="AccessTypeLV"  SeparatorVisibility="None"  HasUnevenRows="True" >
            <x:Arguments>
                <ListViewCachingStrategy>
                    <OnPlatform x:TypeArguments="ListViewCachingStrategy" iOS="RetainElement" Android="RecycleElement"/>
                </ListViewCachingStrategy>
            </x:Arguments> ...

Now I get the aforementioned error for every occurrence of ListViewCachingStrategy. What would cause this to not work?
Thanks!


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>