MindFusion.Wpf Pack Programmer's Guide
ShapeDesigner Members
Constructors Fields Properties Methods Events
 


Represents an interactive vector-drawing control that can be used to design node shapes.

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 Fields

  Name Description

AlignToGridProperty

Identifies the AlignToGrid dependency property.

AnchorPointsLabelProperty

Identifies the AnchorPointsLabel dependency property.

GridSizeProperty

Identifies the GridSize dependency property.

PrimitivesLabelProperty

Identifies the PrimitivesLabel dependency property.

SelectedElementProperty

Identifies the SelectedElement dependency property.

ShapeBoundsBrushProperty

Identifies the ShapeBoundsBrush dependency property.

ShapeSizeProperty

Identifies the ShapeSize dependency property.

ShowGridProperty

Identifies the ShowGrid dependency property.

ShowShapePropertiesProperty

Identifies the ShowShapeProperties dependency property.

TemplatesLabelProperty

Identifies the TemplatesLabel dependency property.

ZoomFactorProperty

Identifies the ZoomFactor dependency property.

 Public Properties

  Name Description

AlignToGrid

Gets or sets a value indicating whether to align shape elements to a grid. This is a dependency property.

AnchorPointsLabel

A string specifying the label of Anchor Points category in shape designer toolbox.

GridSize

Gets or sets the size of the alignment grid. This is a dependency property.

PrimitivesLabel

A string specifying the label of graphic primitives category in shape designer toolbox.

SelectedElement

Gets or sets the selected element in the shape designer. This is a dependency property.

ShapeBoundsBrush

Specifies the brush used to fill the shape's bounding rectangle.

ShapeSize

Specifies the size of the design area representing the node's bounding rectangle.

ShowGrid

Gets or sets a value indicating whether to show the alignment grid. This is a dependency property.

ShowShapeProperties

Gets or sets a value indicating whether the shape properties panel should be visible. This is a dependency property.

TemplatesLabel

A string specifying the label of outline templates category in shape designer toolbox.

ZoomFactor

Gets or sets the zoom factor used to scale up or down the ShapeDesigner.

 Public Methods

  Name Description

ExportShape

Creates a new Shape from the current content of the design canvas.

ImportShape

Imports a Shape into the designer's drawing canvas.

OnApplyTemplate

Control.OnApplyTemplate override.

Redo

Executes again the most recently undone user action.

Undo

Undoes the most recent user action.

 Protected Methods

  Name Description

OnMouseWheel

OnMouseWheel override.

OnPreviewDragOver

Control.OnPreviewDragOver override.

OnPreviewDrop

Control.OnPreviewDrop override.

OnShapeChanged

Raises the ShapeChanged event.

 Public Events

  Name Description

ShapeChanged

Occurs when the shape drawing changes.

 See Also

ShapeDesigner Class
MindFusion.Diagramming.Wpf Namespace