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






In This Topic
    Dock Property (DicomViewer)
    In This Topic
    Syntax
    'Declaration
     
    
    <SRCategoryAttribute("CatLayout")>
    <System.ComponentModel.LocalizableAttribute(True)>
    <System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)>
    <System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    <SRDescriptionAttribute("ControlDockDescr")>
    Public Overridable Property Dock As System.Windows.Forms.DockStyle
    'Usage
     
    
    Dim instance As DicomViewer
    Dim value As System.Windows.Forms.DockStyle
     
    instance.Dock = value
     
    value = instance.Dock
    [SRCategory("CatLayout")]
    [System.ComponentModel.Localizable(true)]
    [System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    [SRDescription("ControlDockDescr")]
    public virtual System.Windows.Forms.DockStyle Dock {get; set;}
    public read-write property Dock: System.Windows.Forms.DockStyle; virtual; 
    SRCategoryAttribute("CatLayout")
    System.ComponentModel.LocalizableAttribute()
    System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)
    System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)
    SRDescriptionAttribute("ControlDockDescr")
    public function get,set Dock : System.Windows.Forms.DockStyle
    [SRCategory("CatLayout")]
    [System.ComponentModel.Localizable(true)]
    [System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    [SRDescription("ControlDockDescr")]
    public: __property virtual System.Windows.Forms.DockStyle get_Dock();
    public: __property virtual void set_Dock( 
       System.Windows.Forms.DockStyle value
    );
    [SRCategory("CatLayout")]
    [System.ComponentModel.Localizable(true)]
    [System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    [SRDescription("ControlDockDescr")]
    public:
    virtual property System.Windows.Forms.DockStyle Dock {
       System.Windows.Forms.DockStyle get();
       void set (    System.Windows.Forms.DockStyle value);
    }
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also