Hi,
I'm creating a user control in WPF, and I would like to have a
property which can only be set in design time. I'm using this
property as a parameter to another wpf data provider control.
I don't see anything to set that the dependency property can only be
changed at design time, but I have found how to determine if the
control is in design time or run-time. I still don't know what the
proper way to handle this is. Do I coerce the value? Validate and
throw an exception if it changes during run time?
What's the best way to accomplish this? I would like the property to
be changable via the property grid like other wpf / winforms controls
(since the wpf control will be hosted in a winforms app).
Thanks
Andy



