Templated views need a workaround to be recognized by XamlCSS. Use the VisualTreeCell.Include
attached property to "connect" the templated view to XamlCSS' UI tree.
<ListView ItemsSource="{Binding Items}"> <ListView.ItemTemplate> <DataTemplate> <ViewCell cssXF:VisualTreeCell.Include="True"> ... </ViewCell> </DataTemplate> </ListView.ItemTemplate> </ListView>
or
<CollectionView ItemsSource="{Binding Items}"> <CollectionView.ItemTemplate> <DataTemplate> <ContentView cssXF:VisualTreeCell.Include="True"> ... </ContentView> </DataTemplate> </CollectionView.ItemTemplate> </CollectionView>WPF/UWP/Xamarin.Forms (using LiveXAML): Designer/Previewer Doesn't Update
XamlCSS.<platform>.Css.Init(...)
on the right place?Embedded Resource
?XamlCSS 2.2.0 or higher:
This error is obsolete as of XamlCSS 2.2.0 as AngleSharp is no longer used!
XamlCSS 2.1.0 or lower:
Please check if the version of AngleSharp is the exact version that is listed on nuget
For XamlCSS 2.0.1 it is AngleSharp 0.9.8 (this can change in future versions).
XamlCSS 2.1.0 uses AngleSharp 0.9.9 and has fixed it to this version.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4