Search
Modifying Appearance

You can customize most of the diagram visualization effects.

Background

The Diagram background area can be filled using a solid brush, gradient, texture or color patterns, by setting the BackBrush property. Background theme can also be an image set by the BackgroundImage property. Background image can be centered, aligned to a corner of the control or document, tiled or stretched to cover the drawing area  depending on the BackgroundImageAlign property value. It is possible to paint the area outside Bounds using a distinct brush by setting the ExteriorBrush property.

Shadows

By default all diagram items have shadows drawn under them. If ShadowsStyle is set to OneLevel, the item shadows are drawn at the lowest Z-level under all items, which makes them look as on single Z-level. If it is set to ZOrder each shadow is drawn immediately under its corresponding item, possibly covering parts of other items, which gives more 3D-like look to the diagram. If the style is set to OneLevel no shadows are drawn. The shadows offset from items is specified by the ShadowOffsetX and ShadowOffsetY properties or the SetShadowOffset method. Shadows are painted using the brush specified via ShadowBrush.

Selection

The style of selection handles drawn around the active item can be set with the ActiveItemHandlesStyle property. Items in multiple selection have their handles drawn using the style specified through the SelectedItemHandlesStyle property. Disabled manipulation handles are painted using DisabledHandlesStyle when ShowDisabledHandles is enabled (see EnabledHandles). The Style property of the Selection class controls the way multiple selection is displayed.

Grid Settings

An alignment grid is drawn if the ShowGrid is set to true. The GridColor and GridStyle properties specifies respectively the color and style of grid.