![](/img/trans.png)
[英]How does Xamarin implement an iOS <TableSection> and how can I find out the exact size of the header and color?
[英]How can I found out where the default colors are defined for TableSection?
我想了解更多有关Xamarin来源的信息。 我特别想找出TableSection标题区域的背景颜色是:
<TableSection.Title>
ABC
</TableSection.Title>
设置此代码的代码可供我们查看吗?
这是平台特定的东西,未在Xamarin.Forms中定义。 更改它还意味着您将需要自定义渲染器,因此最好的选择是简单地搜索其平台特定对象的背景色。
对于iOS,这是作为UITableView
呈现的,根据我在网上可以找到的默认背景颜色为#F7F7F7
。
对于Android,其通过主题中存在的可绘制对象进行设置,因此我猜颜色会因主题而异。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.