The WinformsViewsManager type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| WinformsViewsManager |
Creates an instance of the class.
|
Methods
| Name | Description | |
|---|---|---|
| ActivateFormView |
Method to activate a view if it happens to be a form.
Can be overriden in subclasses.
| |
| ActivateUserControlView |
Method to activate a view if it happens to be a user control.
Can be overriden in subclasses.
| |
| ActivateView |
IViewsManager.ActivateView implementation.
(Overrides ViewsManagerBase..::.ActivateView(String).) | |
| Application_Idle |
A method called whenever the application gets idle and used to eliminate
possible mismatches between the current view and actually active view.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| FindContainerView |
Used to find a container view for a specific control (view).
| |
| FindOrCreateView |
Method to find a view by its name or create a new one
if nothing was found.
| |
| GetDefaultConfig |
Returns the default MVCConfiguration instance (obtained via
MVCConfiguration.GetDefault) with
ViewInfosProviderType set to
WinformsViewInfosProvider and
ViewsManagerType set to WinformsViewsManager.
| |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetView |
IViewsManager.GetView implementation.
(Overrides ViewsManagerBase..::.GetView(String).) | |
| InitializeChildViews |
Initializes user control views located inside a container control.
| |
| InitializeFormView |
Method to initialize a view if it happens to be a form.
Can be overriden in subclasses.
| |
| InitializeUserControlView |
Method to initialize a view if it happens to be a user control.
Can be overriden in subclasses.
| |
| InitializeView |
Method to perform a general view initialization
(regardless of its specific type)/
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| NotifyInitialize |
Notifies the view about its initialization if the view
class implements the INotifiedView interface.
| |
| NotifyViewsOnActivation |
A method used to notify views about their (de)activation.
| |
| ToString | (Inherited from Object.) | |
| View_ActivatedManually |
Event hanlder for the manual view activation (by the end-user).
| |
| View_Deactivate |
Event hanlder view de-activation.
|
Fields
| Name | Description | |
|---|---|---|
| activeView |
Holds currently active view instance.
| |
| prevActiveView |
Used to notify the previously active view on its deactivation.
| |
| viewActivatedInCode |
A flag indicating that the last view activation has been done via code.
| |
| views |
Used to hold all view instances.
|
Properties
| Name | Description | |
|---|---|---|
| Navigator |
IViewsManager.Navigator simple implementation with backing fields.
Marked as virtual so that can be overriden in subclasses.
(Inherited from ViewsManagerBase.) | |
| ViewInfos |
IViewsManager.ViewInfos simple implementation with backing fields.
Marked as virtual so that can be overriden in subclasses.
(Inherited from ViewsManagerBase.) |