Class ReactiveUserControl<TViewModel>
- Namespace
- ReactiveUI.Winforms
- Assembly
- ReactiveUI.Winforms.dll
This is an UserControl that is both and UserControl and has a ReactiveObject powers (i.e. you can call RaiseAndSetIfChanged).
[RequiresDynamicCode("ReactiveUserControl<TViewModel> provides base functionality for ReactiveUI which may require dynamic code generation")]
[RequiresUnreferencedCode("ReactiveUserControl<TViewModel> provides base functionality for ReactiveUI which may require unreferenced code")]
public class ReactiveUserControl<TViewModel> : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, IViewFor<TViewModel>, IViewFor, IActivatableView where TViewModel : class
Type Parameters
TViewModelThe type of the view model.
- Inheritance
-
ReactiveUserControl<TViewModel>
- Implements
-
IView
For <TViewModel>
- Inherited Members
- Extension Methods
Constructors
ReactiveUserControl()
Initializes a new instance of the ReactiveUserControl<TViewModel> class.
Properties
ViewModel
Gets or sets the strongly typed view model. Override this property to integrate with the platform's binding system.
Property Value
- TView
Model
Methods
Dispose(bool)
Clean up any resources being used.
Parameters
disposingbooltrue if managed resources should be disposed; otherwise, false.