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


In This Topic
    Anchor Property (NNovChildWindowHost)
    In This Topic
    Gets or sets the edges of the container to which a control is bound 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 the edges of the container to which a control is bound and determines how a control is resized with its parent. ")>
    Public Overrides Property Anchor As System.Windows.Forms.AnchorStyles
    'Usage
     
    
    Dim instance As NNovChildWindowHost
    Dim value As System.Windows.Forms.AnchorStyles
     
    instance.Anchor = value
     
    value = instance.Anchor
    [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 the edges of the container to which a control is bound and determines how a control is resized with its parent. ")]
    public override System.Windows.Forms.AnchorStyles Anchor {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