xamarin/Xamarin.Forms

StyleSheet is not working in TableView

开放

#6,563 创建于 2019年6月18日

 (3 条评论) (0 个反应) (0 位负责人)C# (1,926 个派生)batch import
a/CSSa/listviewe/3 :clock3:help wantedinactivet/bug :bug:up-for-grabs

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Description

StyleSheet is not working in TableView,

Steps to Reproduce

  1. I add a css file in /Assets/styles.css ,and includee in App.xaml <ResourceDictionary> <StyleSheet Source="/Assets/styles.css" /> </ResourceDictionary>

2.write code in page image 3.write css in styles.css image

4.run application image

Expected Behavior

StyleSheet in TableView.ViewCell should work.

Actual Behavior

Only works outside the TableView

Basic Information

  • Version with issue: vs 2019 version 16.1.3 Xamarin.Forms 4.0.0.482894
  • Last known good version:
  • IDE:
  • Platform Target Frameworks:
    • iOS: Not tested
    • Android: 9.0
    • UWP: Not tested
  • Android Support Library Version: 28.0.1
  • Nuget Packages:
  • Affected Devices:

Screenshots

Reproduction Link

贡献者指南