By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,148 Members | 774 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,148 IT Pros & Developers. It's quick & easy.

UML Object Mode For A User/Custom Control Containing An Extended WinForms DataGrid - Best Practices For Paint, DataGridTableStyle GridColumnStyles, etc.

P: n/a
Does anyone have a best practices object model for the properties and methods that would typically be involved with the GDI painting, rendering, etc. aspect of this control. Classes surely to be involved will be DataGridTableStyle, DataGridColumnStyle, GridColumnStyles Paint, Brush, Fonts, DataGridTextBoxColumn, DataGridBoolColumn, PointToClient, TableStyles, etc.

Basically we want to change row colors, fonts, borders, etc. based on the information in the row of the DataSet the grid will be bound too. I'd like to have the DataSet as a public property to start. The control will be used twice on the came form, one contain equity buy's and the other equity' sells. ByOrSell may be a public property.

Unavoidably I see we are going to have to extend a windows forms Datagrid, whether it's the .net, Infragistics, ExtendedDataGrid, etc., to conform to our specific application requirements.



Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I meant Model not Mode
"Richard" <a@b.com> wrote in message news:E3*********************@twister.nyc.rr.com...
Does anyone have a best practices object model for the properties and methods that would typically be involved with the GDI painting, rendering, etc. aspect of this control. Classes surely to be involved will be DataGridTableStyle, DataGridColumnStyle, GridColumnStyles Paint, Brush, Fonts, DataGridTextBoxColumn, DataGridBoolColumn, PointToClient, TableStyles, etc.

Basically we want to change row colors, fonts, borders, etc. based on the information in the row of the DataSet the grid will be bound too. I'd like to have the DataSet as a public property to start. The control will be used twice on the came form, one contain equity buy's and the other equity' sells. ByOrSell may be a public property.

Unavoidably I see we are going to have to extend a windows forms Datagrid, whether it's the .net, Infragistics, ExtendedDataGrid, etc., to conform to our specific application requirements.



Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.