> Hi Robin..
> Try this..
[quoted text clipped - 23 lines]
>> Robin Sanner
>> robin.sanner@verizon.net
Robin,
Yes you are right .It s happenning because of the base object Prefilter
call overwrites original Properities..
If you save the original, call base , remove design time and restore
original ,it will work.
The second approch is more complex. It is implementing CustomProperty
descriptor..
protected override void PreFilterProperties(System.Collections.IDictionary
properties)
{
//Save objects runtime property before base call overrite it
PropertyDescriptor pdObject = properties["GridSize"] as
PropertyDescriptor ;
// Fill design time properties
base.PreFilterProperties (properties);
//Restore runtime property
properties["GridSize"] = pdObject;
}
> That gets rid of the design time GridSize property but I still can't see
> the GridSize property that is on my control.
[quoted text clipped - 25 lines]
>>> Robin Sanner
>>> robin.sanner@verizon.net