Click here to Skip to main content
15,895,667 members
Home / Discussions / C#
   

C#

 
QuestionDataRow, DataTable, DataGridView, avoid changing values in the DataRow Pin
Elvia Gonzalez5-May-06 8:17
Elvia Gonzalez5-May-06 8:17 
AnswerRe: DataRow, DataTable, DataGridView, avoid changing values in the DataRow Pin
Elvia Gonzalez5-May-06 8:22
Elvia Gonzalez5-May-06 8:22 
AnswerRe: DataRow, DataTable, DataGridView, avoid changing values in the DataRow Pin
led mike5-May-06 8:27
led mike5-May-06 8:27 
AnswerRe: DataRow, DataTable, DataGridView, avoid changing values in the DataRow Pin
Josh Smith5-May-06 8:39
Josh Smith5-May-06 8:39 
GeneralRe: DataRow, DataTable, DataGridView, avoid changing values in the DataRow Pin
Elvia Gonzalez5-May-06 8:55
Elvia Gonzalez5-May-06 8:55 
GeneralRe: DataRow, DataTable, DataGridView, avoid changing values in the DataRow Pin
Josh Smith5-May-06 9:02
Josh Smith5-May-06 9:02 
GeneralRe: DataRow, DataTable, DataGridView, avoid changing values in the DataRow Pin
Elvia Gonzalez5-May-06 9:12
Elvia Gonzalez5-May-06 9:12 
QuestionRefresh in a property grid Pin
gantww5-May-06 7:44
gantww5-May-06 7:44 
Hello all,
I've written an application that utilizes the code in "Customized display of collection data in a PropertyGrid" by Gerd Klevesaat. I've even managed to get the customized display of items in a collection working using a generic collection inheriting from BindingList<t>. However, I need a way to force the property grid to update at arbitrary times. Any idea how to make this happen?

I know about RefreshProperties(RefreshProperties.Repaint), but this attribute only tells the property descriptor to redraw the property grid contents when the value of the collection property changes, not when the contents of the collection change. Since I have events that are being raised when my collection changes (and have written a custom ITypeDescriptor class to handle interaction with the property grid), is there any way through ICustomTypeDescriptor where I can send a message to the property grid to refresh itself? My other option is to call the Refresh method on the property grid, but I'm not sure if it will actually change the contents. A final option is to set the SelectedObject on the property grid and cause it to refresh (I don't like this, since it is a bit too hackish for me).

Any ideas?

Thanks,
Will
AnswerRe: Refresh in a property grid Pin
leppie5-May-06 12:38
leppie5-May-06 12:38 
GeneralRe: Refresh in a property grid Pin
gantww6-May-06 15:13
gantww6-May-06 15:13 
QuestionDoes really nobody has answer for my ask? i think it is really simple Pin
m.rastgar5-May-06 7:12
m.rastgar5-May-06 7:12 
AnswerRe: Does really nobody has answer for my ask? i think it is really simple Pin
gantww5-May-06 7:46
gantww5-May-06 7:46 
GeneralRe: Does really nobody has answer for my ask? i think it is really simple Pin
m.rastgar5-May-06 21:45
m.rastgar5-May-06 21:45 
AnswerRe: Does really nobody has answer for my ask? i think it is really simple Pin
George L. Jackson5-May-06 8:56
George L. Jackson5-May-06 8:56 
QuestionDetermine datatype, column length info using SqlDataAdapter, XmlDataDocument classes in C# Pin
PrashantJ5-May-06 6:24
PrashantJ5-May-06 6:24 
AnswerRe: Determine datatype, column length info using SqlDataAdapter, XmlDataDocument classes in C# Pin
Paul Brower5-May-06 9:29
Paul Brower5-May-06 9:29 
GeneralRe: Determine datatype, column length info using SqlDataAdapter, XmlDataDocument classes in C# Pin
PrashantJ5-May-06 10:16
PrashantJ5-May-06 10:16 
Questionprogramaticaly scrolling a listbox Pin
Dan Neely5-May-06 4:54
Dan Neely5-May-06 4:54 
AnswerRe: programaticaly scrolling a listbox Pin
Josh Smith5-May-06 5:03
Josh Smith5-May-06 5:03 
GeneralRe: programaticaly scrolling a listbox Pin
Dan Neely5-May-06 5:37
Dan Neely5-May-06 5:37 
GeneralRe: programaticaly scrolling a listbox Pin
Josh Smith5-May-06 5:42
Josh Smith5-May-06 5:42 
QuestionWM5.0 Screen Capture - gif format Pin
Handheld Programmer5-May-06 4:48
Handheld Programmer5-May-06 4:48 
AnswerRe: WM5.0 Screen Capture - gif format Pin
Guffa5-May-06 6:42
Guffa5-May-06 6:42 
GeneralRe: WM5.0 Screen Capture - gif format Pin
Handheld Programmer5-May-06 10:01
Handheld Programmer5-May-06 10:01 
AnswerRe: WM5.0 Screen Capture - gif format Pin
Guffa5-May-06 23:26
Guffa5-May-06 23:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.