MindFusion.Wpf Pack Programmer's Guide
InternalUtils.DrawAdjustmentHandles Method
See Also
 





Draws node adjustment handles of the specified style.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public static void DrawAdjustmentHandles (
    DrawingContext graphics,
    HandlesVisualStyle enabledStyle,
    HandlesVisualStyle disabledStyle,
    Rect nodeBounds,
    double rotationAngle,
    AdjustmentHandles enabledHandles,
    bool showDisabled,
    HandlesStyle handlesStyle,
    double size,
    DiagramItem item
)

Visual Basic  Copy Code

Public Shared Sub DrawAdjustmentHandles( _
    graphics As DrawingContext, _
    enabledStyle As HandlesVisualStyle, _
    disabledStyle As HandlesVisualStyle, _
    nodeBounds As Rect, _
    rotationAngle As Double, _
    enabledHandles As AdjustmentHandles, _
    showDisabled As Boolean, _
    handlesStyle As HandlesStyle, _
    size As Double, _
    item As DiagramItem _
)

 Parameters

graphics

A DrawingContext surface to draw upon.

enabledStyle
A HandlesVisualStyle instance specifying the appearance of enabled handles.
disabledStyle
A HandlesVisualStyle instance specifying the appearance of disabled handles.
nodeBounds
A System.Windows.Rect specifying the node size.
rotationAngle
A double value specifying the node's rotation angle in degrees.
enabledHandles
A combination of AdjustmentHandles flags specifying which handles are enabled.
showDisabled
true to draw disabled handles, otherwise false.
handlesStyle
A HandlesStyle member specifying the type of adjustment handles to draw.
size
A double value specifying the size of individual adjustment handles.
item
A DiagramItem for which to draw adjustment handles.

 Remarks

Use this method to render adjustment handles with standard look and feel as a base for custom-drawn ones when handling the DrawAdjustmentHandles event.

 See Also

InternalUtils Members
InternalUtils Class
MindFusion.Diagramming.Wpf Namespace