
Custom Control with Design Time only properties
I am trying to create a custom control that is inherited from one of
the base controls. I have a custom property that I would like to be
set via the Property Page browser only. The property should not be
able to be set via code at run-time, only through the Property Page.
I think this implies that the property is design-time only, however,
from what I've read I can't figure out how to restrict this property
so a person can only set it when designing the component and not at
run time...The designonly property of System.ComponentModel doesn't
restrict the property so it can't be set at run-time..I can still set
the variable at run-time if I set DesignOnly to true.
Any hints or suggestions would be greatly appreciated.