Nevron Open Vision Documentation
Nevron.Nov.Windows.Forms Namespace / NNovChildWindowHost Class / Dock Property


In This Topic
    Dock Property (NNovChildWindowHost)
    In This Topic
    Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    <System.ComponentModel.LocalizableAttribute(True)>
    <System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)>
    <System.ComponentModel.CategoryAttribute("Layout")>
    <System.ComponentModel.DescriptionAttribute("Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.")>
    Public Overrides Property Dock As System.Windows.Forms.DockStyle
    'Usage
     
    
    Dim instance As NNovChildWindowHost
    Dim value As System.Windows.Forms.DockStyle
     
    instance.Dock = value
     
    value = instance.Dock
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    [System.ComponentModel.Localizable(true)]
    [System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
    [System.ComponentModel.Category("Layout")]
    [System.ComponentModel.Description("Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.")]
    public override System.Windows.Forms.DockStyle Dock {get; set;}
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also