Hi,
I am planning to extend DataGridView control to hosting my own Editing
control. Here is my class which derived from DataGridViewColumn.
public class MyDataGridViewMaskedTextBoxColumn : DataGridViewColumn
{
.....
[
Category("EditingControl Settings"),
Browsable(true),
]
public string Mask
{
get { return m_csMaskString;
}
set
{
m_csMaskString = value;
}
}
I am fining out that in design time, whatever I assign to "Mask" property,
it is not persistent into .cs file. Do you have any ideas?
Thank you very much.
Nate Smith - 23 May 2005 20:21 GMT
On another discussion site(www.windowsforms.net), I asked about a similar
problem in VB2005 and was told I had to override the Clone property of the
column. Now, when I tried doing this, it caused a few other problems(as in
all my columns disappeared!), but I think that's at least a first step in the
right direction. If you get a complete solution to this, please post it back
here. Thanks!
> Hi,
> I am planning to extend DataGridView control to hosting my own Editing
[quoted text clipped - 20 lines]
> it is not persistent into .cs file. Do you have any ideas?
> Thank you very much.