Class ViewNames
- Namespace
- Acuit.Pinpoint.Workstation
- Assembly
- Acuit.Pinpoint.Workstation.Interfaces.dll
Names for navigable Prism views in the Acuit Pinpoint Workstation user interface.
public static class ViewNames
- Inheritance
-
ViewNames
- Inherited Members
Fields
NoScanViewReplace
The name of a navigable view that can be provided by a plug-in to replace the default no-scan view.
[Obsolete("This is deprecated and will be removed in a future version; Acuit.Pinpoint.Workstation.RegionNames.NoScanSinglePlugInRegion should be used instead.")]
public const string NoScanViewReplace = "NoScanViewReplace"
Field Value
Remarks
If this view is provided by a plug-in, The MainRegion will navigate to this view instead of the default one provided by Pinpoint. Note that the default view contains a NoScanPlugInRegion region; the replacement view should normally provide its own host for this region. Only one view of this name can be provided by plug-ins.
Using this approach to provide the no-scan view is not recommended since it has a serious limitation: The replacement view will only be used when the plug-in is loaded during initial application startup. The view will NOT be used when the plug-in is loaded via station type settings on the server. The NoScanSinglePlugInRegion region should be used instead.
Alternatively, a plug-in can explicitly navigate to a new view. For example:
IRegionManager regionManager; // injected via the plug-in module's importing constructor
regionManager.Regions[RegionNames.MainRegion].RequestNavigate("NameExportedByPlugInView");