1
Answer

Problem with customization of DataGridColumnStyle

Administrator

Administrator

22y
2.4k
1
1) I have customized DataGridColumnStyle for "DateTimePicker" and an "UserControl" - but not able to show these controls always - the control in a particular row is displayed only when I click on the column.... 2) In the paint override method, do I need to use Draw**** methods for drawing UserControl - isn't there any better way..... Please help me....
Answers (1)
0
Administrator
Admin 2.3k 1.3m 22y
1. See Edit method of DataGridColumnStyle. The Visible attribute of Your control is set/reset there. But - painting of full control is much more slower then painting only background and text (2). Next - DataGridColumnStyle control is only one but rows are multiple. 2. Painting is really low-level.