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


In This Topic
    AutoSize Property (NNovChildWindowHost)
    In This Topic
    Gets or sets whether the control must be automatically sized to its content.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.BrowsableAttribute(True)>
    <System.ComponentModel.DefaultValueAttribute(True)>
    <System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)>
    <System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Always)>
    <System.ComponentModel.LocalizableAttribute(True)>
    <System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.All)>
    <System.ComponentModel.CategoryAttribute("Layout")>
    <System.ComponentModel.DescriptionAttribute("Gets or sets whether the control must be automatically sized to its content.")>
    Public Overrides Property AutoSize As System.Boolean
    'Usage
     
    
    Dim instance As NNovChildWindowHost
    Dim value As System.Boolean
     
    instance.AutoSize = value
     
    value = instance.AutoSize
    [System.ComponentModel.Browsable(true)]
    [System.ComponentModel.DefaultValue(true)]
    [System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
    [System.ComponentModel.EditorBrowsable(EditorBrowsableState.Always)]
    [System.ComponentModel.Localizable(true)]
    [System.ComponentModel.RefreshProperties(RefreshProperties.All)]
    [System.ComponentModel.Category("Layout")]
    [System.ComponentModel.Description("Gets or sets whether the control must be automatically sized to its content.")]
    public override System.bool AutoSize {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