WinForms DataGrid - Avoiding Paint, Brushes, Table/Column Styles etc. - Can Infragistics or Compone

  • Thread starter Thread starter Richard
  • Start date Start date
R

Richard

Rather than all that painting, brush, etc. code to change the styles of a
..NET datagrid to start with and on the fly, I'd rather be able to set a lot
of the stuff in the designer properties of the grid. Would I buy any code
savings buy using an Infragistics/whatever datagrid? Any recommendations for
a best practices doing it with the .NET datagrid? I guess a custom control
dll type data grid with lots of nice properties would be interesting but I
wanted to avoid that also.
 
Hello Al

Thank you for your reply.

The .NET DataGrid.SelectionBackColor Public Property gets or sets the
background color of selected rows. What I want is a property such as
DataGrid.SelectionBorderColor (which does not exist). It would put a border
around the currently selected rows. I am looking to avoid a lot of the
custom programming that will be involved using classes such as Region,
Paint, Brush and overriding the Paint, etc. methods to do this.

Can you generally tell me what specific features your product the
FlyGrid.Net at www.9rays.net has or does not have that the Ifragistics
UntraWinGrid does not have. Do you have some sort similar features
comparison matrix of your product against the .NET DataGrid.

The ExtendedDataGrid is a nice learning tool with 'model' code to
understand how table styles work. It's not a lot of code involved and as per
Mr. Tielens web site ExtendedDataGrid web page it "provides a framework to
easily add virtually any UserControl to a DataGrid cell! It comes down to
creating a custom control by inheriting from the ExtendedDataGridControl and
implementing the desired functionality. Then this custom control can be
added to the ExtendedDataGridControlColumn so in each cell your control will
be rendered. All of this can be done by using the default Visual Studio.NET
designers."

Thank you,

Richard
 
Is this a plug? Seems you want people to have a look at 9rays. Why not just
say so? Why cook up some story to raise interest?

Richard said:
Hello Al

Thank you for your reply.

The .NET DataGrid.SelectionBackColor Public Property gets or sets the
background color of selected rows. What I want is a property such as
DataGrid.SelectionBorderColor (which does not exist). It would put a
border
around the currently selected rows. I am looking to avoid a lot of the
custom programming that will be involved using classes such as Region,
Paint, Brush and overriding the Paint, etc. methods to do this.

Can you generally tell me what specific features your product the
FlyGrid.Net at www.9rays.net has or does not have that the Ifragistics
UntraWinGrid does not have. Do you have some sort similar features
comparison matrix of your product against the .NET DataGrid.

The ExtendedDataGrid is a nice learning tool with 'model' code to
understand how table styles work. It's not a lot of code involved and as
per
Mr. Tielens web site ExtendedDataGrid web page it "provides a framework to
easily add virtually any UserControl to a DataGrid cell! It comes down to
creating a custom control by inheriting from the ExtendedDataGridControl
and
implementing the desired functionality. Then this custom control can be
added to the ExtendedDataGridControlColumn so in each cell your control
will
be rendered. All of this can be done by using the default Visual
Studio.NET
designers."

Thank you,

Richard
 
Hello a@t

No, this is not some stealth method of spamming this forum. Al was the only
person to respond to a similar post I made early on in my research on this
subject. Therefore his post does not fall under the exact subject of this
post so you can't see it in this thread. I was just referencing his grid as
a bit of literary license to present my issue to the list. However thank you
for bringing this to my attention as I did somewhat think that it may have
been interpreted as you so state.

I really want some model best practices approach to my application specific
GDI requirements. I work for a wealth management company in NYC. We are
making a trading screen that will send off trades to the NYSE via FIX. The
screen will contain two grids, a buy grid and a sell grid which will contain
the orders. I'm thinking I will have a Buy user control and a Sell user
control. They will both contain another same user control and that user
control will have the data grid. The Buy user control and Sell user control
will contain the specific buy or sell business logic to pass to the grid
control.

Thank you,

Richard

at said:
Is this a plug? Seems you want people to have a look at 9rays. Why not just
say so? Why cook up some story to raise interest?
 
Back
Top