![](/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.