N
news://news.microsoft.com
Hi,
i have created a UserControl and implemented IExtenderProvider correctly.
I want to provide only controls with the extended properties which are added
to my Usercontrol.
I've thought about to check Me.Controls in the Function 'CanExtend', and
return only true for controls in that List.
Unfortunatly this doesn't work, because CanExtend will be called before the
control is added to my UserControl. Therefor the Extended Property is
displayed first after closing my UserControl and open it again.
Is there a possibility to Force a redraw or refresh of the PropertyGrid?
That could be done in a OnControlAdded-Method of my UserControl.
Kind regards
Walter
i have created a UserControl and implemented IExtenderProvider correctly.
I want to provide only controls with the extended properties which are added
to my Usercontrol.
I've thought about to check Me.Controls in the Function 'CanExtend', and
return only true for controls in that List.
Unfortunatly this doesn't work, because CanExtend will be called before the
control is added to my UserControl. Therefor the Extended Property is
displayed first after closing my UserControl and open it again.
Is there a possibility to Force a redraw or refresh of the PropertyGrid?
That could be done in a OnControlAdded-Method of my UserControl.
Kind regards
Walter