Integer |
public class IntegerAndComboBoxController : IMVCAController, IMVCController, IDisposable, IApplyController
The IntegerAndComboBoxController type exposes the following members.
| Name | Description | |
|---|---|---|
| IntegerAndComboBoxController | Initializes a new instance of the IntegerAndComboBoxController class. |
| Name | Description | |
|---|---|---|
| IntegerValue | Gets the selected integer value. | |
| ModelObject | Gets the model (document) that this controller manages. | |
| SelectedItem | Gets the selected combo box item. | |
| 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. | |
| EhView_ComboBoxSelectionChanged | Handles changes of the combo box selection in the view. | |
| EhView_IntegerChanged | Handles changes of the integer value in the view. | |
| 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 controller and, if available, its view. | |
| 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 | |
|---|---|---|
| _comboBoxItems | The combo-box items. | |
| _comboBoxLabelText | The label text for the combo box. | |
| _integerLabelText | The label text for the integer input. | |
| _integerMaximum | The maximum integer value. | |
| _integerMinimum | The minimum integer value. | |
| _integerValue | The current integer value. | |
| _selectedItem | The selected combo-box item. | |
| _view | The attached view. |