GrapeCity MultiRow Windows Forms Documentation
Create Templates Using Tracing Mode

If you use the tracing mode, you can load an underlay image in the background of the template on which you are working. You can then place cells using this underlying image.

The underlay image set in the tracing mode is not visible at runtime. In order to display an image in the background of the row at runtime, use the Row.BackgroundImage property.

Set the Underlay Image

In order to add an underlay image to the template, use the following steps.

  1. Click on the grey area in the template, or select the class that inherits the template from the Properties window (for example: Template1).
  2. Select the property Template.TracingImage in the Properties window, and select the desired image.
  3. Confirm that the loaded image is being displayed in the background of the column header or row, in the template.
  4. Adjust the position of the underlay image by dragging the background of the column header section or the rows.

Change the Opacity of Underlay Image

By default, the opacity of the underlay image is 50%. Use the Template.TracingImageOpacity property to change the opacity to the desired value.

Move the Underlay Image

You can adjust the position of the underlay image by dragging the background of the column header section or rows. In order to prevent any change in the position, set the value of the Template.TracingImageLocked property to True.

Hide the Underlay Image

In order to temporarily hide the underlay image, set the value of the Template.TracingImageVisible property to False.

Delete the Underlay Image

In order to delete the underlay image, select the Template.TracingImage property from the Properties window, and select Reset from the context menu.

See Also

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options