DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomViewer Class / ContextMenuStrip Property






In This Topic
    ContextMenuStrip Property (DicomViewer)
    In This Topic
    Syntax
    'Declaration
     
    
    <SRCategoryAttribute("CatBehavior")>
    <System.ComponentModel.DefaultValueAttribute("")>
    <SRDescriptionAttribute("ControlContextMenuDescr")>
    Public Overridable Property ContextMenuStrip As System.Windows.Forms.ContextMenuStrip
    'Usage
     
    
    Dim instance As DicomViewer
    Dim value As System.Windows.Forms.ContextMenuStrip
     
    instance.ContextMenuStrip = value
     
    value = instance.ContextMenuStrip
    [SRCategory("CatBehavior")]
    [System.ComponentModel.DefaultValue("")]
    [SRDescription("ControlContextMenuDescr")]
    public virtual System.Windows.Forms.ContextMenuStrip ContextMenuStrip {get; set;}
    public read-write property ContextMenuStrip: System.Windows.Forms.ContextMenuStrip; virtual; 
    SRCategoryAttribute("CatBehavior")
    System.ComponentModel.DefaultValueAttribute("")
    SRDescriptionAttribute("ControlContextMenuDescr")
    public function get,set ContextMenuStrip : System.Windows.Forms.ContextMenuStrip
    [SRCategory("CatBehavior")]
    [System.ComponentModel.DefaultValue("")]
    [SRDescription("ControlContextMenuDescr")]
    public: __property virtual System.Windows.Forms.ContextMenuStrip* get_ContextMenuStrip();
    public: __property virtual void set_ContextMenuStrip( 
       System.Windows.Forms.ContextMenuStrip* value
    );
    [SRCategory("CatBehavior")]
    [System.ComponentModel.DefaultValue("")]
    [SRDescription("ControlContextMenuDescr")]
    public:
    virtual property System.Windows.Forms.ContextMenuStrip^ ContextMenuStrip {
       System.Windows.Forms.ContextMenuStrip^ get();
       void set (    System.Windows.Forms.ContextMenuStrip^ value);
    }
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also