Gets or sets the pen used to paint the frame of the item.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C#
![]() |
---|
public Pen Pen { get; set; } |
Visual Basic
![]() |
---|
Public Property Pen As Pen |
An instance of the Pen class. The default value is null.
The property refers to a pen, with which the item frame is painted. When applied to links, the property specifies how their segments are painted.
When set to null, the pen object used to draw the item borders is derived from the item's Style, or from the diagram's current Theme.
Diagramming for .NET MAUI Guide | © 2025 MindFusion |