Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个三列五行的 DataTable。DataTable 会将其添加到 DevExpress XtraGrid 之一。如果可能,我想更改网格或同一 DataTable 中单元格 (3, 3) 的背景颜色。
问候亚历克斯
您需要处理 GridView 上的 CustomDrawCell 事件。
http://documentation.devexpress.com/#windowsforms/DevExpressXtraGridViewsGridGridView_CustomDrawCelltopic