A
--== Alain ==--
Hi,
As i did not get any answer to my previous post, i post the topic again.
How can i repaint my control, when an item from my custom control
collection has changed ?
in my collection property there is only a get function as following :
[Category("Behavior")]
[Browsable(true)]
[Description("Column Collection")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[Editor(typeof(ColumnCollectionEditor),typeof(System.Drawing.Design.UITypeEditor))]
public ColumnCollection Columns
{
get
{
if (this.m_columns == null)
{
this.m_columns = new ColumnCollection(this);
}
return this.m_columns;
}
}
it works very well, except that it does not repaint the control.
Any ideas ?
thx.
Al.
As i did not get any answer to my previous post, i post the topic again.
How can i repaint my control, when an item from my custom control
collection has changed ?
in my collection property there is only a get function as following :
[Category("Behavior")]
[Browsable(true)]
[Description("Column Collection")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[Editor(typeof(ColumnCollectionEditor),typeof(System.Drawing.Design.UITypeEditor))]
public ColumnCollection Columns
{
get
{
if (this.m_columns == null)
{
this.m_columns = new ColumnCollection(this);
}
return this.m_columns;
}
}
it works very well, except that it does not repaint the control.
Any ideas ?
thx.
Al.