[Mono-list] DataGridViewTextBoxColumn ignores "Visible" property?

rhornsby rhornsby at weldoninc.com
Thu Jun 5 09:55:58 EDT 2008


Apologies, I'm new to C# and even newer to Mono.  I've got a simple
application right now with some checkboxes and a datagrid (with just
headings, no columns or data yet).  Toggling the checkbox is supposed to
toggle the visibility of a corresponding Datagrid column.  This seems to
work fine in Windows/.Net, but not in Mono (latest OS X package or the SuSe
VMWare image).

private System.Windows.Forms.DataGridViewTextBoxColumn dgColVspeed;

I've been able to confirm that the toggle event is taking place, and that I
can make the toggle cause one of the other checkboxes to disappear. 
However, the datagrid columns remain visible regardless.  I've also noticed
that even if I set the property in the code where the element is being
created and the rest of the properties (format,name, etc) are being set,
"visible" is ignored.  Is this just an unsupported operation?

I found this
http://www.nabble.com/-Mono-dev--Mono-1.1.9-broken-DataGrid-tp872361p872361.html
but it was from several versions ago, so I don't think it applies now?

thanks guys
-rj
-- 
View this message in context: http://www.nabble.com/DataGridViewTextBoxColumn-ignores-%22Visible%22-property--tp17670425p17670425.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list