Skip to main content
A newer version of this page is available. .

DiagramConnector.BeginArrow Property

Gets or sets the connector’s start arrow style.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v19.1.dll

Declaration

[DefaultValue(null)]
[DiagramCategory(DiagramCategory.Appearance)]
public virtual ArrowDescription BeginArrow { get; set; }

Property Value

Type Default Description
DevExpress.Diagram.Core.ArrowDescription *null*

An object that specifies the start 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.

ArrowStyles

To modify the arrow size, use the DiagramConnector.BeginArrowSize property.

Example

The following example shows how to specify arrow styles and text for a diagram connector.

ArrowStyleExample.png

using DevExpress.Diagram.Core;

diagramConnector1.BeginArrow = ArrowDescriptions.FilledSquare;
diagramConnector1.EndArrow = ArrowDescriptions.FilledDoubleArrow;
diagramConnector1.Content = "Start";
See Also