Back to Devexpress

DiagramConnector.EndArrow Property

windowsforms-devexpress-dot-xtradiagram-dot-diagramconnector-b3bd56f6.md

latest2.6 KB
Original Source

DiagramConnector.EndArrow Property

Gets or sets the connector’s end arrow style.

Namespace : DevExpress.XtraDiagram

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
[DefaultValue(typeof(ArrowDescription), "Filled90")]
[DiagramCategory(DiagramCategory.Appearance)]
public virtual ArrowDescription EndArrow { get; set; }
vb
<DefaultValue(GetType(ArrowDescription), "Filled90")>
<DiagramCategory(DiagramCategory.Appearance)>
Public Overridable Property EndArrow As ArrowDescription

Property Value

TypeDefaultDescription
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.

csharp
using DevExpress.Diagram.Core;

diagramConnector1.BeginArrow = ArrowDescriptions.FilledSquare;
diagramConnector1.EndArrow = ArrowDescriptions.FilledDoubleArrow;
diagramConnector1.Content = "Start";
vb
Imports DevExpress.Diagram.Core

DiagramConnector1.BeginArrow = ArrowDescriptions.FilledSquare
DiagramConnector1.EndArrow = ArrowDescriptions.FilledDoubleArrow
DiagramConnector1.Text = "Start"

See Also

EndArrowSize

BeginArrow

DiagramConnector Class

DiagramConnector Members

DevExpress.XtraDiagram Namespace