DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomViewer Class / Layout Event






In This Topic
    Layout Event (DicomViewer)
    In This Topic
    Syntax
    'Declaration
     
    
    <SRCategoryAttribute("CatLayout")>
    <SRDescriptionAttribute("ControlOnLayoutDescr")>
    Public Event Layout As System.Windows.Forms.LayoutEventHandler
    'Usage
     
    
    Dim instance As DicomViewer
    Dim handler As System.Windows.Forms.LayoutEventHandler
     
    AddHandler instance.Layout, handler
    [SRCategory("CatLayout")]
    [SRDescription("ControlOnLayoutDescr")]
    public event System.Windows.Forms.LayoutEventHandler Layout
    public event Layout: System.Windows.Forms.LayoutEventHandler; 
    In JScript, you can handle the events defined by another class, but you cannot define your own.
    [SRCategory("CatLayout")]
    [SRDescription("ControlOnLayoutDescr")]
    public: __event System.Windows.Forms.LayoutEventHandler* Layout
    [SRCategory("CatLayout")]
    [SRDescription("ControlOnLayoutDescr")]
    public:
    event System.Windows.Forms.LayoutEventHandler^ Layout
    Event Data

    The event handler receives an argument of type System.Windows.Forms.LayoutEventArgs containing data related to this event. The following LayoutEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the System.ComponentModel.Component affected by the layout change.  
    Gets the child control affected by the change.  
    Gets the property affected by the change.  
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also