Class JobViewModelBase
Represents a interface for a view model of a Job.
public abstract class JobViewModelBase : ViewAware, INotifyPropertyChangedEx, INotifyPropertyChanged, IViewAware
- Inheritance
-
PropertyChangedBaseViewAwareJobViewModelBase
- Implements
-
INotifyPropertyChangedExIViewAware
- Inherited Members
-
ViewAware.DefaultContextViewAware.ViewsViewAware.ViewAttachedPropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Properties
Configuration
Gets or sets the configuration.
public abstract JobViewModelConfiguration Configuration { get; set; }
Property Value
Job
Gets the job.
public abstract Job Job { get; }
Property Value
Methods
CalculateMinimumBoundingRectangle()
Calculates the minimum bounding rectangle.
public abstract Rectangle CalculateMinimumBoundingRectangle()
Returns
- Rectangle
The minimum bounding rectangle.
HideBlock(Block)
Hides the block
.
public abstract void HideBlock(Block block)
Parameters
block
BlockBlock to hide.
Exceptions
- ArgumentException
Throw when the
block
does not belong to the job.
ShowBlock(Block)
Shows the block
.
public abstract void ShowBlock(Block block)
Parameters
block
BlockBlock to show.
Exceptions
- ArgumentException
Throw when the
block
does not belong to the job.