Class CropViewModel

ViewModel for the Crop card.

Inheritance
CropViewModel
Namespace: MOSAIC.ViewModels.SignalProcessing
Assembly: MOSAIC.dll
Syntax
public class CropViewModel : ObservableObject, INotifyPropertyChanged, INotifyPropertyChanging
Remarks

All parameters bind directly to the block's observable properties — changes take effect on the next incoming frame. The view shows input/output shapes so the user can verify the crop range is valid.

Constructors

CropViewModel(Crop)

Creates a new ViewModel wrapping the given Crop block.

Declaration
public CropViewModel(Crop crop)
Parameters
Type Name Description
Crop crop

Fields

_crop

Declaration
private readonly Crop _crop
Field Value
Type Description
Crop

Properties

Crop

Exposes the underlying block for direct binding from the view.

Declaration
public Crop Crop { get; }
Property Value
Type Description
Crop

Implements

INotifyPropertyChanged
INotifyPropertyChanging

Search documentation

Start typing to search the documentation.