* UIDataGridView: 修改行头部颜色

This commit is contained in:
yhuse
2025-12-05 10:40:55 +08:00
parent f849278b53
commit 8c144407fb

View File

@@ -51,6 +51,7 @@
* 2024-08-27: V3.7.0 增加属性AutoScrollToBottom数据更新时是否自动滚动到最后一行
* 2024-09-04: V3.7.0 解决有隐藏行时,滚动条滚动时出错的问题
* 2025-04-21: V3.8.3 修复数据更新时是否自动滚动到最后一行
* 2025-12-05: V3.9.0 修改行头部颜色
******************************************************************************/
using System;
@@ -102,6 +103,7 @@ namespace Sunny.UI
ColumnHeadersDefaultCellStyle.Font = UIStyles.Font();
//行头部颜色
RowHeadersBorderStyle = DataGridViewHeaderBorderStyle.Single;
RowHeadersDefaultCellStyle.BackColor = UIColor.LightBlue;
RowHeadersDefaultCellStyle.ForeColor = UIFontColor.Primary;
RowHeadersDefaultCellStyle.SelectionBackColor = UIColor.Blue;