Skip to content

ViewModelControlHost.ViewModel property

Defined in

Type: ViewModelControlHost Namespace: ReactiveUI.Winforms Assembly: ReactiveUI.Winforms.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net462, net481

Attributes: [Category("ReactiveUI")] [Description("The viewmodel to host.")] [Bindable(true)] [DesignerSerializationVisibility(DesignerSerializationVisibility.0)]

public object? ViewModel { get; set; }

View source

Inherited documentation

These docs were inherited from IViewFor. The member doesn't override them on this type.

Summary: Gets or sets the view model associated with the view.

Returns: object?