Nevron .NET Vision
Nevron.UI.WinForm Namespace / NControl Class / SizeToContent Property


In This Topic
    SizeToContent Property
    In This Topic
    Gets/sets a value indicating whether the control will size to its content.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DescriptionAttribute("Gets/sets a value indicating whether the control will size to its content.")>
    Public Overridable Property SizeToContent As System.Boolean
    'Usage
     
    
    Dim instance As NControl
    Dim value As System.Boolean
     
    instance.SizeToContent = value
     
    value = instance.SizeToContent
    [System.ComponentModel.Description("Gets/sets a value indicating whether the control will size to its content.")]
    public virtual System.bool SizeToContent {get; set;}
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also