A base generic user control class implementing the IView<(Of <(T>)>) interface. Has a strongly typed association to the controller (of the parameter type T).

It is recommended to inherit your user control view classes from this one instead of manually implementing the IView<(Of <(T>)>) interface. Neccessary IView<(Of <(T>)>) members may be overriden.

Namespace:  MVCSharp.Winforms
Assembly:  MVCSharp (in MVCSharp.dll)
Version: 0.8.5217.34148


public class WinUserControlView<T> : UserControl, INotifiedView, 
	IView<T>, IView where T : class, IController
Visual Basic (Declaration)
Public Class WinUserControlView(Of T As {Class, IController}) _
	Inherits UserControl _
	Implements INotifiedView, IView(Of T), IView
Visual C++
generic<typename T>
where T : ref class, IController
public ref class WinUserControlView : public UserControl, 
	INotifiedView, IView<T>, IView

Type Parameters



This class also implements the INotifiedView interface (with empty methods) so in derived classes it is possible to override Activate and Initialize methods specifying response to (de)activation and initialization events.

Inheritance Hierarchy

              MVCSharp.Winforms..::.WinUserControlView<(Of <(T>)>)

See Also