Conditional |
The ConditionalDocumentControllerTModel type exposes the following members.
| Name | Description | |
|---|---|---|
| EnablingText | Gets the text used to enable the conditional view. | |
| IsConditionalViewEnabled | Gets a value indicating whether the conditional view is enabled. | |
| ModelObject | Gets the model (document) that this controller manages. | |
| ModelObjectOrNull | Gets the model object or if the conditional view is disabled. | |
| UnderlyingController | Gets or sets the underlying controller. | |
| UnderlyingView | Gets the underlying view object, if enabled. | |
| UseDocumentCopy | Sets whether or not a copy of the document is used. If set to true, a copy of the document is used, so if the controller is not applied, all changes can be reverted. If set to false, no copy must be made. The document is directly changed by the controller, and changes cannot be reverted. Use the last option if a controller higher in the hierarchy has already made a copy of the document. | |
| ViewObject | Gets or sets the GUI element that shows the model to the user. |