ComponentOne Sizer for WinForms
C1.Win.Sizer.6 Assembly / C1.Win.Sizer Namespace / C1SizerLight Class / Enabled Property

In This Topic
    Enabled Property (C1SizerLight)
    In This Topic
    Determines whether the C1SizerLight should resize the controls on the form when the form is resized.
    Syntax
    'Declaration
     
    Public Property Enabled As System.Boolean
    public System.bool Enabled {get; set;}
    Remarks

    This property has no effect at design time. Child controls are automatically resized at run time only.

    If you need to create controls at run time, you should set the Enabled property to false, create the controls, then set it back to true. This will allow C1SizerLight to update its internal layout information.

    See Also