You can add a Rectangle to a page, for example to visually group other objects on a form. After you add a rectangle, you can modify its properties to change its appearance.
Property | Function |
---|---|
BackgroundColor | Specifies a background color for the object. Select a color from one of the tabs in the drop-down list. Note that you can specify a custom color. If you change this value, you can restore the default value specified for the parent object by right-clicking the property and clicking "Reset" on the context menu. |
BorderStyle | Specifies the style of the border of the object. Choose from the list of available types to change the border style. |
ControlType | Read-only. Specifies Rectangle as the type of object added to the form. |
ForegroundColor | Specifies a foreground color for the object. Select a color from one of the tabs in the drop-down list. Note that you can specify a custom color. |
Location | Specifies the point in pixels that represents the upper-left corner of the object relative to the upper-left corner of its container as an X and Y location. |