Raised when item's adjustment handles must be custom-drawn.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public event EventHandler<DrawItemEventArgs> DrawAdjustmentHandles |
Visual Basic Copy Code |
---|
Public Event DrawAdjustmentHandles As EventHandler(Of DrawItemEventArgs) |
DrawAdjustmentHandles event handlers receive an argument of type DrawItemEventArgs. The following DrawItemEventArgs members provide information relevant to the event:
Member name | Description |
---|---|
The DiagramItem whose adjustment handles should be drawn. | |
An object implementing the IGraphics interface whose methods should be used to draw the item's handles. |
DrawAdjustmentHandles is raised for selected items whose HandlesStyle is set to Custom.
The following example illustrates how to draw a red frame around a node as a visualization of its adjustment handles.
C# Copy Code |
---|
void OnDrawAdjustmentHandles(object source, DrawItemEventArgs e) |
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |