Search
HandlesStyle Enumeration
See Also
 





Enumerates possible visual styles for frames that are drawn around selected nodes.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public enum HandlesStyle

Visual Basic  Copy Code

Public Enum HandlesStyle

 Members

  Member name Description

Custom

NetDiagram raises the DrawAdjustmentHandles and HitTestAdjustmentHandles events to let your application perform custom drawing and hit testing of selection handles.

DashFrame

If selected, a node is drawn with a dashed frame. The frame enables resizing the node. The center of the node allows moving it and the edge area enables creating links.

EasyMove

Any point of the interior of a node enables moving the node, except a small area in the center that allows creating links. Best used with ModificationStart set to AutoHandles.

HatchFrame

If selected, the item is drawn with hatched frame. Modifications can be done as with DashFrame.

HatchHandles

If selected, a node is drawn with both hatched frame and modification handles. The frame enable moving the node, and the handles enable resizing. Links are created from any point of the interior.

HatchHandles2

Looks like HatchHandles, but allows moving the node from the interior area. Links are created from the points near the edge.

HatchHandles3

Behaves like HatchHandles2, but paints the selection frame using a denser brush pattern.

Invisible

There is no visible difference between selected and unselected node.

InvisibleMove

There aren't any selection handles displayed. The selected node can be only moved, but not resized.

MoveOnly

If a node is selected, it can be only moved. Best used with ModificationStart set to AutoHandles.

RoundAndSquare

Corner resize handles are round, remaining handles are square.

RoundAndSquare2

Corner resize handles are round, remaining handles are square. In addition, there is a dashed frame drawn around selected nodes.

SquareHandles

If selected, the node is drawn with square modification handles.

SquareHandles2

Square resize handles are drawn around a selected node. There isn't a move handle in the center as with the SquareHandles style, but nodes can be moved by dragging their interior or caption areas. Links can be created by drawing from near the edges of a node.

 Remarks

The selection style can be set independently for individual nodes and links through their DiagramNode.HandlesStyle and DiagramLink.HandlesStyle properties. For most of these styles, it is recommended to set ModificationStart to AutoHandles.

 See Also