Single |
public class SingleChoiceController : IMVCAController, IMVCController, IDisposable, IApplyController, ISingleChoiceViewEventSink
The SingleChoiceController type exposes the following members.
| Name | Description | |
|---|---|---|
| SingleChoiceController | Initializes a new instance of the SingleChoiceController class. | |
| SingleChoiceController(String, Int32) | Initializes a new instance of the SingleChoiceController class. |
| Name | Description | |
|---|---|---|
| DescriptionText | Gets or sets the description text. | |
| ModelObject | Gets the model (document) that this controller manages. | |
| ViewObject | Gets or sets the GUI element that shows the model to the user. |
| Name | Description | |
|---|---|---|
| Apply | Called when the user input has to be applied to the document being controlled. Returns if apply is successful. | |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
| EhChoiceChanged | Handles a change of the selected choice. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| Initialize | Initializes the view from the current controller state. | |
| Initialize(String, Int32) | Initializes the selectable values and the selected index. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Revert | Try to revert changes to the model, i.e. restores the original state of the model. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| _choice | The committed choice index. | |
| _choiceTemp | The temporary choice index. | |
| _descriptionText | The description text shown by the controller. | |
| _values | The selectable values. | |
| _view | The attached view. |