LEADTOOLS Medical (Leadtools.Medical.Workstation.Loader assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
ParentViewer Property
See Also 
Leadtools.Medical.Workstation.Loader Namespace > MedicalViewerCellCreatingEventArgs Class : ParentViewer Property



Gets or sets the Leadtools.MedicalViewer.MedicalViewer control for the cell

Syntax

Visual Basic (Declaration) 
Public Property ParentViewer As MedicalViewer
Visual Basic (Usage)Copy Code
Dim instance As MedicalViewerCellCreatingEventArgs
Dim value As MedicalViewer
 
instance.ParentViewer = value
 
value = instance.ParentViewer
C# 
public MedicalViewer ParentViewer {get; set;}
C++/CLI 
public:
property MedicalViewer^ ParentViewer {
   MedicalViewer^ get();
   void set (    MedicalViewer^ value);
}

Property Value

The Leadtools.MedicalViewer.MedicalViewer control for the cell

Remarks

In the MedicalViewerLoaderBase.ViewerCellCreating event, provide a non-default parent viewer for the cell. This is necessary because in a scenario where multiple studies are loaded by the same loader, the loader will have an invalid ViewerControl. Providing the ParentViewer in the MedicalViewerLoaderBase.ViewerCellCreating event allows the application to provide the correct viewer for the cell based on the study.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Medical.Workstation.Loader requires a Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features