Version

WinGridBagLayoutManager Smart Tag

In Visual Studio 2005 (.NET Framework 2.0), each Ultimate UI for Windows Forms control/component is equipped with a Smart Tag. By simply selecting the control/component, a Smart Tag anchor appears. When you click this anchor, a pop-up panel appears, providing you with quick and easy access to the most common properties and settings of the control/component.

The WinGridBagLayoutManager™ Smart Tag contains the name of the component, as well as the following section:

  • Layout — Offers properties that will determine how the WinGridBagLayoutManager component positions and arranges the controls that it manages on the form.

See below for a description of the item (e.g., field, drop-down list, checkbox) in each section, as well as the item’s corresponding property in the properties grid.

ultragridbaglayoutmanager's smart tag
Layout Description Corresponding Property

Expand To Fit Height

If you select this checkbox, WinGridBagLayoutManager component will proportionally resize all the logical rows to fit any extra height in the container.

Expand To Fit Width

If you select this checkbox, WinGridBagLayoutManager component will proportionally resize all the logical columns to fit any extra width in the container.

Container Control

If you are using the WinGroupBox or WinExpandableGroupBox for instance, the WinGridBagLayoutManager will control the layout of whatever child controls are inside the container control. For example, set the container control (also available in the properties grid via the ContainerControl property) to "ultraGroupBox1" and the WinGridBagLayoutManager will govern the layout of the controls inside of "ultraGroupBox1."