DiagramConnector.BeginArrow Property
Gets or sets the connector’s start arrow style.
Namespace: DevExpress.XtraDiagram
Assembly: DevExpress.XtraDiagram.v24.1.dll
NuGet Package: DevExpress.Win.Diagram
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.
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.
using DevExpress.Diagram.Core;
diagramConnector1.BeginArrow = ArrowDescriptions.FilledSquare;
diagramConnector1.EndArrow = ArrowDescriptions.FilledDoubleArrow;
diagramConnector1.Content = "Start";