DicomObjects.NET.V8
DicomObjects Namespace / DicomViewer Class / DisplayChanged Event



In This Topic
    DisplayChanged Event
    In This Topic
    This event is fired whenever the display properties of any of the images in the control�s Images collection change.
    Syntax
    'Declaration
     
    Public Event DisplayChanged As DisplayChangedHandler
    'Usage
     
    Dim instance As DicomViewer
    Dim handler As DisplayChangedHandler
     
    AddHandler instance.DisplayChanged, handler
    public event DisplayChangedHandler DisplayChanged
    public:
    event DisplayChangedHandler^ DisplayChanged
    Remarks

    This event is useful for updating appropriate display elements relating to the images displayed, such as Width and Level sliders etc.

    Note that DataChanged is always followed by DisplayChanged, so there is no need to duplicate functionality in the DataChanged routine.

    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also