MultiRow Windows Forms > Developer's Guide > Using MultiRow > Advanced Designer Features > Hints for using the Designer |
You may find the following hints useful when using the designer.
You can click in one of the following areas to select a template faster than selecting it from the Properties window.
You can set the appearance using the VisualStyle property in the settings option of the MultiRow designer. For details, refer to Designer Options.
The designer maintains the created template as source code. Initially, the source code language is the same as that of the project. If you change the source code of a project that has been created in Visual Basic, to a C# project, you can avoid manually rewriting the template source code. You can use the clipboard to make copies of the objects present on the template. The source code is then automatically generated based on the language used in the project.
Use the following steps:
There is a ColumnHeaderSection added by default in the designer. To delete this, click to select the ColumnHeaderSection, and click the Delete key or click Delete from the context menu.
The designer provides Snaplines Mode and Grid Mode. The default setting is Snaplines Mode and this mode provides snaplines for resizing and movement of cells similar to what can be done in the Visual Studio Windows Form designer. Grid Mode provides grid points for resizing and movement of cells similar to what can be done when LayoutMode is set to SnapToGrid in the Visual Studio Windows Form designer.
Snaplines mode is useful in situations where a tabular screen needs to be created and where MultiRow cells need to be kept together without any space between them. This is because Snaplines facilitate aligning the cell spaces and the column headers.
Grid mode can be used to allocate spacing, and is useful in creating complicated tabular screens. Since the spacing between grid points can be used as spaces, you can reduce the load when adjusting the layout.
For example, you could create a report screen using Snaplines mode and a list screen using Grid mode. In that case, when you resize or move the cells (while keeping the Alt key pressed), you could temporarily disable the Layout mode to make it easier to make fine adjustments.
You can initialize property values by selecting specific properties from the Properties window and clicking Reset. This is similar to how this is done in the form designer.