Table of Contents

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
PropertyChangedBase
ViewAware
Screen
ServiceViewModel
Implements
IViewAware
IChild
IScreen
IHaveDisplayName
IActivate
IDeactivate
IGuardClose
IClose
INotifyPropertyChangedEx
Inherited Members
Screen.OnInitialize()
Screen.OnActivate()
Screen.Parent
Screen.DisplayName
Screen.IsActive
Screen.IsInitialized
Screen.Activated
Screen.AttemptingDeactivation
Screen.Deactivated
ViewAware.DefaultContext
ViewAware.Views
ViewAware.ViewAttached
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Constructors

ServiceViewModel(TypeDataModule)

Initializes a new instance of the ServiceViewModel class.

public ServiceViewModel(TypeDataModule module)

Parameters

module TypeDataModule

The 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

Uri

TypeDataControl

Gets the type data editor.

public TypeDataViewModel TypeDataControl { get; }

Property Value

TypeDataViewModel