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. 1 1364
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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Jeff Cook |
last post by:
Hi
I have a DataGrid that I am using to display a .xml file (that has a schema
in a .xsd), like this:-
ds.ReadXmlSchema(sDataPath + "Data.xsd");
ds.ReadXml(sDataPath + "Data.xml",...
|
by: Peter |
last post by:
I have a datagrid on WinForm and I am trying to format the Grid.
I am using the following code, the code runs fine, but nothing happens after it runs, the datagrid does not change (with data in the...
|
by: michael walser |
last post by:
I get this message in "Spaltenbreite definieren" => Definition for Columns
Width
An unhandled exception of type 'System.NullReferenceException' occurred in
WindowsApplication1.exe
Additional...
|
by: berg |
last post by:
All,
I am binding an ArrayList full of custom objects to an DataGrid. The
property in the custom class are all public.
I define a DataGridTableStyle and set the MappingName to "ArrayList". I...
|
by: Russ Perry Jr |
last post by:
I'm working on my first "real" C# project, and one of the first things
I'm doing is putting some data up in a grid. I'm using a DataSet
returned form running a stored proc as my grid.DataSource,...
|
by: Richard |
last post by:
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...
|
by: Mike L |
last post by:
This is for a Win form, in C# 2005.
I want to load a datagrid, make some columns width 0, and then clean out the
record I added.
I get the error message, ""Index was out of range. Must be...
|
by: Mike Fellows |
last post by:
im trying (unsucessfully) to add a checkbox column to my datagrid
i basically have a datagrid that im populating from a dataset
Me.DataGrid1.DataSource = ds.Tables(0)
the datagrid then has 5...
|
by: DraguVaso |
last post by:
Hi,
I found on the net that it is possible to use the BeginUpdate end
EndUpdate-methods with a DataGrid:...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| | |