Show / Hide Table of Contents

Method VerifyDesignMode

| Improve this Doc View Source

VerifyDesignMode()

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.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest