DiagramConnector.EndArrow Property
Gets or sets the connector’s end arrow style.
Namespace: DevExpress.XtraDiagram
Assembly: DevExpress.XtraDiagram.v24.1.dll
NuGet Package: DevExpress.Win.Diagram
Declaration
[DefaultValue(typeof(ArrowDescription), "Filled90")]
[DiagramCategory(DiagramCategory.Appearance)]
public virtual ArrowDescription EndArrow { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DevExpress.Diagram.Core.ArrowDescription | "Filled90" | An object that specifies the end arrow style. |
Remarks
An arrow style is specified by a certain DevExpress.Diagram.Core.ArrowDescription class object.
You can access predefined arrow styles from the DevExpress.Diagram.Core.ArrowDescriptions class, which provides a set of static properties that return ArrowDescription objects.
The available arrow styles are shown in the image below.
To modify the arrow size, use the DiagramConnector.EndArrowSize property.
Example
The following example shows how to specify arrow styles and text for a diagram connector.
using DevExpress.Diagram.Core;
diagramConnector1.BeginArrow = ArrowDescriptions.FilledSquare;
diagramConnector1.EndArrow = ArrowDescriptions.FilledDoubleArrow;
diagramConnector1.Content = "Start";