Method VerifyDesignMode
| Improve this Doc View SourceVerifyDesignMode()
Verifies thisModelMember is in design mode.
Declaration
protected void VerifyDesignMode()
Remarks
Inheritors should call this method at beginning of any API that writes to data members should be freezed when DesignMode is false.
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | The DesignMode is false and cannot have its members written to. |