ICustomProjectSetting.DesignMode

True if we're in design mode, which allows settings to be changed.

public bool DesignMode { get; set; }

See also:

Interface ICustomProjectSetting