Search
ShapeDesigner Members
Constructors Properties Methods Events
 


Provides a design surface for creation or modification of Shape objects.

The following tables list the members exposed by the ShapeDesigner type.

 Public Constructors

  Name Description

ShapeDesigner

Initializes a new instance of the ShapeDesigner class.

 Public Properties

  Name Description

BackColor

Control.BackColor override.

DecorationColor

Gets or sets the shape decoration color.

GridColor

Gets or sets the grid color.

GridSpacing

Gets or sets the grid spacing.

GridStyle

Gets or sets whether the grid is drawn as lines or dots.

Image

Gets or sets the image to be attached to the currently edited Shape.

ImageLocation

Gets or sets the location of the image to be attached to the currently edited Shape.

MainContourColor

Gets or sets the main outline color.

OutlineColor

Gets or sets the shape outline color.

RoundRectRadius

Gets or sets the default radius for corners of rounded rectangles.

SelectionColor

Gets or sets the selection color.

Shape

Gets or sets the currently edited shape.

ShapeSize

Gets or sets the shape editing area size.

ShowGrid

Gets or sets whether to display alignment grid.

ShowScrollbars

Gets or sets whether scrollbars should be displayed.

TextAreaContourColor

Gets or sets the text area outline color.

 Public Methods

  Name Description

ClientToShapeX

Converts from client to shape coordinates.

ClientToShapeY

Converts from client to shape coordinates.

ExportTemplateCode

Generates source code for the Shape definition.

 Protected Methods

  Name Description

OnCreateControl

Control.OnCreateControl override.

OnMouseDown

Control.OnMouseDown override.

OnMouseMove

Control.OnMouseMove override.

OnMouseUp

Control.OnMouseUp override.

OnPaint

Control.OnPaint override.

OnPaintBackground

Control.OnPaintBackground override.

OnResize

Control.OnResize override.

 Public Events

  Name Description

ShapeChanged

Raised when a Shape definition has been changed.

 See Also