Raised when item's adjustment handles must be custom-drawn.
Namespace: MindFusion.Diagramming
Package: 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 diagram_DrawAdjustmentHandles(object sender, MindFusion.Diagramming.DrawItemEventArgs e) |
Visual Basic Copy Code |
---|
Sub diagram_DrawAdjustmentHandles(ByVal sender As Object, ByVal e As MindFusion.Diagramming.DrawItemEventArgs) |