Class ServiceViewModel
- Namespace
- Loehnert.Lisrt.TypeAndResult.ViewModels
- Assembly
- Loehnert.Lisrt.TypeAndResult.dll
Service ViewModel for the TypeDataModule.
public class ServiceViewModel : ServiceViewModelBase, IViewAware, IChild, IDocument, ILayoutItem, IScreen, IHaveDisplayName, IActivate, IDeactivate, IGuardClose, IClose, INotifyPropertyChangedEx, INotifyPropertyChanged, ICommandHandler<UndoCommandDefinition>, ICommandHandler<RedoCommandDefinition>, ICommandHandler<SaveFileCommandDefinition>, ICommandHandler<SaveFileAsCommandDefinition>, ICommandHandler
- Inheritance
-
PropertyChangedBaseViewAwareScreenServiceViewModel
- Implements
-
IViewAwareIChildIScreenIHaveDisplayNameIActivateIDeactivateIGuardCloseICloseINotifyPropertyChangedEx
- Inherited Members
-
Screen.OnInitialize()Screen.OnActivate()Screen.ParentScreen.DisplayNameScreen.IsActiveScreen.IsInitializedScreen.ActivatedScreen.AttemptingDeactivationScreen.DeactivatedViewAware.DefaultContextViewAware.ViewsViewAware.ViewAttachedPropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
ServiceViewModel(TypeDataModule)
Initializes a new instance of the ServiceViewModel class.
public ServiceViewModel(TypeDataModule module)
Parameters
module
TypeDataModuleThe type data module.
Exceptions
- ArgumentNullException
Thrown when
module
is null.
Properties
IconSource
Gets the icon. (Returns null, because the service window is always disabled.)
public override Uri IconSource { get; }
Property Value
TypeDataControl
Gets the type data editor.
public TypeDataViewModel TypeDataControl { get; }