Sizer

Create resolution-independent, resizable forms with ComponentOne Sizer™ for WinForms. This powerful grid layout manager extends the basic layout capabilities provided by the .NET Framework and resizes controls to fill your form like the WPF and Silverlight Grid control.

Controls Included

  • C1Sizer is a container control with a grid layout. Contained controls snap to grid lines and stretch accordingly when C1Sizer is resized.
  • C1SizerLight is a non-visual component that keeps track of a form's size and position. When the form is resized, the C1SizerLight component resizes all contained controls proportionally, so the form retains its appearance at any resolution.

Features

  • Grid Layout

    The C1Sizer panel is a lot like the Grid control in WPF and Silverlight. Each control inside C1Sizer is positioned in one or more of its rows and columns. You have the flexibility to set up the grid rows and columns before or have them automatically created after the controls are inside the C1Sizer panel.

  • Automatic Resizing

    As it's resized at run time, C1Sizer will resize its controls so that they always fill their designated grid cells (rows and columns). You can set fixed sizes for some rows and columns to prevent them from stretching during resize. C1Sizer delivers resolution-independent forms, or forms that appear the same at any screen resolution.

  • Splitters

    Just set the IsSplitter property for any grid row or column, and C1Sizer will give you splitter behavior between its content. Splitters allow the end-user to resize just a portion of the C1Sizer panel at run time, without having to resize the entire form. Each splitter's style is completely customizable.

  • Rounded Corners

    The C1Sizer panel supports rounded corners and borders, so if you'd like, you can update the look of your application to look more like WPF and less like classic Windows Forms. Use C1Sizer for just this feature or combine it with the resizing capabilities for an all-around, true WPF feel. No image resources are needed to accomplish this feature so your application remains lightweight and responsive.

  • Gradient Backgrounds

    With the design-time Gradient Editor, you can quickly and easily add complex gradients to the C1Sizer panel. Create a modern look for your forms without having to paint or load graphic files (the C1Sizer panels in the screen shot below were created without image resources and without writing a single line of code).

  • Spacing and Padding

    Adjust the spacing between controls by setting the Padding properties (top, left, right, bottom) and the SplitterWidth property. Combine multiple C1Sizer panels inside one another for further spacing and padding customizations.

  • Full Proportional Resizing

    Alternative to C1Sizer, the C1SizerLight component is a non-visual component that keeps track of a form's size and position. When the form is resized, the C1SizerLight component resizes all contained controls proportionally, so the form retains its appearance at any resolution. With C1SizerLight no container control is needed; just drop it anywhere on your form and you have instant resizing capabilities.