I'm unaware of a design-time only way of raising exceptions, so I guess any exception will do.
What you need in the setter of the property is something along these lines:
if (DesignMode)
{
//Currently in design-mode. Perform validation.
if ((value != null) && (value.length > 64))
{
throw new ArgumentException();
}
someMemberVar = value;
}
MCP