如何更改propertygrid网格行颜色wpf?

时间:2018-01-17 09:14:06

标签: winforms xceed

我在我的项目中使用xceed.wpf.toolkit.propertygrid。但网格排线并不清楚。 image is here

如何更改网格行颜色和粗细以清除可见性。

1 个答案:

答案 0 :(得分:0)

您必须使用EditorTemplateDefinition,例如City的模板和黄色背景的电子邮件:

SqlCommand comm = new SqlCommand("DELETE FROM [dbo].[DatabaseLog] WHERE Event = N'CREATE_TABLE'",conn);
int rowsAffected = comm.ExecuteNonQuery();