'Declaration Public Class C1SizerLight Inherits System.ComponentModel.Component
public class C1SizerLight : System.ComponentModel.Component
'Declaration Public Class C1SizerLight Inherits System.ComponentModel.Component
public class C1SizerLight : System.ComponentModel.Component
When you add a C1SizerLight component to a form, it keeps track of the forms' size and position. When the form is resized, C1SizerLight resizes all contained controls proportionally, so the form retains its appearance at any resolution.
C1SizerLight can also resize the fonts on all or some of the contained controls.
You will rarely have to write any code in order to use the C1SizerLight component. In most applications, you will simply design forms as usual, then add a C1SizerLight component to the form and let it resize all controls on the form automatically, when the form is resized.
In some cases, you may want to control how fonts are resized when the form dimensions change. You can prevent all font resizing by setting the ISizerLight.ResizeFonts property to false. Or you can keep the font size constant for certain controls by handling the ISizerLight.ResizingFont event.
Note that the C1SizerLight component does not work at design time. This allows you to resize your form without affecting the layout of the controls on the form.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
C1.Win.Sizer.C1SizerLight